magneto Posted October 19, 2012 Share Posted October 19, 2012 (edited) Hi, I noticed this behaves a little unpredictable: opexists(opinputpath(".", 0))[/CODE]than this:[CODE]opexists(opinputpath('.', 0))[/CODE]Is there a difference between the 2? The strange behaviour I saw is when I have the top expression as the default value (hscript) for an asset parameter (asset A) and then use that asset somewhere else (asset B ), sometimes when I dive into the asset B that use the asset A, I noticed that parameter's value shows up as 1 in expression mode with light/olive green and the value mode shows nothing (empty).Not sure what I am doing wrong.Any ideas?Thanks Edited October 19, 2012 by magneto Quote Link to comment Share on other sites More sharing options...
old school Posted October 23, 2012 Share Posted October 23, 2012 In this simplistic case, both "" double quotes and '' single quotes should return the same result. In general, "" double quotes expand all variables within the string while '' single quotes don't expand variables and pass them through with the $. Handy to know when passing strings containing variables about. / -> echo "$TEMP"/usr/tmp/ -> echo '$TEMP'$TEMP[/CODE] 1 Quote Link to comment Share on other sites More sharing options...
magneto Posted October 23, 2012 Author Share Posted October 23, 2012 Thanks Jeff for clarifying it. I wasn't sure 100%. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.