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

Home » Public Forums » archive » Re: Running bucles on LINUX terminal
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: Running bucles on LINUX terminal [message #65707 is a reply to message #65706] Mon, 16 March 2009 10:52 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
llo writes:

> We can run bulces on the LINUX terminal using & $ after each line.
> For example:
>
> FOR i=0, 5 DO BEGIN & $
> FOR j=0, 2 DO BEGIN & $
> PRINT, i & $
> PRINT, j & $
> ENDFOR & $
> ENDFOR
>
> Today a friend tells me another way to do that:
>
> .R
> FOR i=0, 5 DO BEGIN
> FOR j=0, 2 DO BEGIN
> PRINT, i
> PRINT, j
> ENDFOR
> ENDFOR
> END

Oh, dear. This "friend" let you go on like this
for *how* long!? :-)

Cheers,

David

P.S. Let's just say, in programming if it looks too brain-dead
to be believable, it usually is. :-)

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: weird behaviour of ishft
Next Topic: Re: weird behaviour of ishft

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

Current Time: Sat Nov 29 21:19:40 PST 2025

Total time taken to generate the page: 0.87951 seconds