Sorry. We were talking about "tricky" code. I didn't mean to imply that
having if-then-else on one line was tricky. Simply that the example that
was used (that I've long forgotten) took a multi-line if-then-else
construct (it may have even been nested) into a single - very tricky -
line. IIRC it relied fairly heavily on both Boolean logic and
parentheses. 


Colin 

>-----Original Message-----
>From: Keith W. Roberts
>
>I don't mind if-then-else on one line ... as long as it fits 
>on one *screen* line. :)
>
>IF SOME.FLAG THEN GOSUB DO.SOMETHING ELSE GOSUB DO.SOMETHING.ELSE
>
>-Keith
>
>----Original Message----
>From: colin.alfke
>
>> The first programming book I read called this the:
>> 
>> "Shirley Temple Principle" - i.e.. Don't' get too cute.
>> 
>> It provided an example of a multi-line If-Then-Else construct 
>> "compressed" into one line. Strangely enough it kind of looked like 
>> some f-correlatives I've seen.
>> 
>> Colin Alfke
>> Calgary, Canada
>> 
>>> -----Original Message-----
>>> From: Mark Johnson
>>> 
>>> Define tricky looking code.
>>> Thanks.
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to