Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

iffalse /iftrue problem in fms logo

19 views
Skip to first unread message

veter...@hotmail.co.uk

unread,
Apr 3, 2011, 3:13:10 PM4/3/11
to
hi i seem to be having a problem with the command iftrue and iffalse
using the example from the help file i write my code in the form

test pixel = [255 255 255]
iftrue [print [white] ]

but logo returns an error message saying
iftrue without test it does the same for the iffalse as well

DJL

unread,
Apr 5, 2011, 12:06:59 PM4/5/11
to

This has to be done in a procedure. The following works for me, e.g.

to tst


test pixel = [255 255 255]

iftrue [pr [ok]]
iffalse [pr [no]]
end

0 new messages