| bkhurana43 103 posts
 msg #98077
 - Ignore bkhurana43
 | 12/17/2010 5:38:48 PM 
 Since Programming of Boolean Logic (if, Or Conditions) is bit confusing to me on SF platform, I would appreciate some help in that regard. I have three variables (VAR1, VAR2 and VAR3), their calculated values may either be 0 or 1. The condition I wish to perform is as follows:
 
 IF VAR3=1 Move 0 to VAR1 and VAR2
 ELSE proceeed to next step
 
 
 | 
| straken 469 posts
 msg #98078
 - Ignore straken
 | 12/17/2010 6:15:47 PM 
 The Stockfetcher scripting logic has the lack of Booly & Set Logic (if,no,true,false,and,or) statements, but  is easily overcome with a clever use of the COUNT command. Try your set arguement variables like the following example syntax
 
 
 
 
 
 You can also use the sum command for summation queries
 
 
 
 
 
 | 
| miko 68 posts
 msg #98104
 - Ignore miko
 | 12/18/2010 11:54:19 PM 
 http://forums.stockfetcher.com/sfforums/?q=view&tid=28017&start=0
 
 Thanks to therumpledone
 
 
 |