Creative COW SIGN IN :: SPONSORS :: ADVERTISING :: ABOUT US :: CONTACT US :: FAQ
Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on TwitterCreative COW's Google+ PageCreative COW on YouTube
ADOBE AFTER EFFECTS:HomeForumBasicsExpressionsTutorialsPodcastsAE TechniquesCreative Cloud DebateFAQ

Re: Expression problem, I need to understand why

COW Forums : Adobe After Effects

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Share on Facebook
Respond to this post   •   Return to posts index   •   Read entire thread


Darby EdelenRe: Expression problem, I need to understand why
by on Aug 19, 2012 at 7:08:27 pm

[Erick Wilczynski] "Sorry. Here is the expression X = effect("Checkbox Control")("Checkbox") if (X = = 0)0 else (effect("Particular")("Particles/sec"))"

You have to separate the different operations with semi-colons like this:


X = effect("Checkbox Control")("Checkbox");
if (X == 0) 0;
else (effect("Particular")("Particles/sec"));


Also, I'm quite sure that you'll need the == operator without any spaces in between the ='s. == (comparison) is a wholly different operator than = (assignment) and two ='s separated by a space may be seen as two assignment (=) operators instead of one comparison (==) operator.

-D

Darby Edelen


Posts IndexRead Thread
Reply   Like  
Share on Facebook


Current Message Thread:




LOGIN TO REPLY



FORUMSTUTORIALSFEATURESVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

Creative COW LinkedIn Group Creative COW Facebook Page Creative COW on Twitter
© 2014 CreativeCOW.net All rights are reserved. - Privacy Policy

[Top]