FAQ
Products Showcase Download Extras Support
 
Home :: Support :: Community :: CourseLab Issues

Re: IF and indents

IF and indents 
Author:  Graeme   [Member]
Date: 13.05.2008 15:13:22
Hi, I'm exploring Courselab and I'm impressed with its capabilities. I've managed to get the IF command to work, please add a comment in the Help to say that indents must be used to group the commands! Realising that would have saved me time. Leaving indents out will give rise to errors.

IF (Condition='1==1')
MSGBOX('this is true')
ELSE
MSGBOX('this is not true')

Indents are controlled by the 'move left' and 'move right' buttons (ftn) -> for the newbies

Happy courselabbing......  
...
Re: (1) IF and indents 
Author:  Graeme   [Member]
Date: 13.05.2008 15:17:19
waaaa, the script was altered: I typed:


IF (Condition='1==1')
~indent~MSGBOX('this is true')
~indent~ELSE
~indent~~indent~MSGBOX('this is not true')
 
...

Reply

You can also post this message as registered user. [Log in]
Author:
E-mail:
Subject:
Options:  Notify me if there is a new reply
Message emoticon:
Message body:
Insert smilie into text:
 
Jump to thread: