|
Post by ekvirtanen on Mar 26, 2008 11:30:14 GMT -5
Sorry for simple question but i am lost with this one here. I tried to solve from documents but might be up to my bad knowledge of english terms here.
Anyway, in tinybasic example i did find next line.
A(B)=A(B)>=A(S) In english, does this mean IF A(B) <> A(S) THEN A(B) = A(S)?
Thanks.
|
|
|
Post by ekvirtanen on Mar 26, 2008 11:40:16 GMT -5
d**n me.
IF A(B) = A(S) THEN A(B) = TRUE? Right?
|
|
|
Post by StefanPendl on Mar 26, 2008 13:11:33 GMT -5
A(B) will get the result of the conditional check A(B)>=A(S), which will be -1 or 0. The line can be expressed as: IF A(B)>=A(S) THEN A(B) = -1 'TRUE ELSE A(B) = 0 'FALSE END IF
|
|
|
Post by ekvirtanen on Mar 26, 2008 13:25:04 GMT -5
Thanks for the confirmation StefanPendl. Sometimes its just hard to remember sun is yellow and night is black lol. Ill go to sit on tree for a week or something
|
|