comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Newbie IDL question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Newbie IDL question [message #52112] Mon, 08 January 2007 15:40
tony.ohagan is currently offline  tony.ohagan
Messages: 3
Registered: January 2007
Junior Member
I new to IDL but have lots of experience in other programming
languages.

It appears that all nested control statements IF/CASE/WHILE etc force
me to
suffix every line with & $ to avoid syntax errors.
Is there any way of ridding myself of this pain?

Example:

name = 'Larry'
CASE name OF & $
'Larry': PRINT, 'Stooge 1' & $
'Moe': PRINT, 'Stooge 2' & $
'Curly': PRINT, 'Stooge 3' & $
ELSE: PRINT, 'Not a Stooge' & $
ENDCASE

Thanks,
Tony.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL -> X-terminal -> Windows using Xwin32, "backing store"?
Next Topic: Newbie IDl question

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 14:02:35 PDT 2025

Total time taken to generate the page: 1.11993 seconds