Re: Short form of "if" statement

new topic     » goto parent     » topic index » view thread      » older message » newer message
DerekParnell said...

Also note that you do not have to use multiple lines when using the 'if - then - end if' form. eg...

if x < 0 then x = -x end if 

Which is very close to what your suggestion was about.

Yeah, you are right. Two BASIC dialects were mixed in my brain. Excuse for troubling.

P.S. I am going to refuse the second dialect - PureBasic. Euphoria is able everything that I need. The euphoric feeling better than purity!

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu