Welcome to %s forums

BrainModular Users Forum

Login Register

Using the (or) operator in a script for an IF statement

I need help on a Patch
Post Reply
sephult
Member
Posts: 1144
Contact:

Unread post by sephult » 07 Jan 2016, 18:50

I am having problems with using the (or) statement like

if i = 53 or 54 then begin

I even tried

if i = (53 or 54) then begin


I am curious if there is another way to get this working, or if possible the (or) is not implemented or correct in this statement.



-s
"Every act of creation is first an act of destruction." -Picasso

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 07 Jan 2016, 19:35

think you need to do : if ((i=53) or (i=54))

Post Reply

Who is online

Users browsing this forum: No registered users and 33 guests