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

Home » Public Forums » archive » Re: Begin statement
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Begin statement [message #3258] Fri, 06 January 1995 04:29 Go to previous message
zawodny is currently offline  zawodny
Messages: 121
Registered: August 1992
Senior Member
In article <gurman-0501951345270001@barkochba.gsfc.nasa.gov> gurman@uvsp.gsfc.nasa.gov (Joseph B. Gurman) writes:
>> Actually, on can use BEGIN and END statements from the command line, but one
>> has to fit in the entire command onto a single command line, e.g.
>>
>> IDL> FOR I=1,10 DO BEGIN & PRINT,I & HELP,I & ENDFOR
>
> In fact, on the command line, one can even omit the END[FOR] --- as
> the original poster had it:
> (I never knew it worked until David Stern did it while showing me


As long as we are splitting hairs, the first & is not required at the command
line either.

IDL> for i = 0, 9 do begin print,i & help,i

works just as well.

--
Joseph M. Zawodny (KO4LW) NASA Langley Research Center
Internet: j.m.zawodny@larc.nasa.gov MS-475, Hampton VA, 23681-0001
TCP/IP: ko4lw@ko4lw.ampr.org Packet: ko4lw@n4hog.va.usa.na
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 3D graphics
Next Topic: PRINT_FILE keyword in MS-WINDOWS ???

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

Current Time: Wed Oct 08 15:56:25 PDT 2025

Total time taken to generate the page: 0.00417 seconds