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

Home » Public Forums » archive » Running bucles on LINUX terminal
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
Running bucles on LINUX terminal [message #65708] Mon, 16 March 2009 10:34
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
Hi people,

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

Cheers,

llo
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: idl speed question
Next Topic: Adding Text/Equations to Plots

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

Current Time: Wed Oct 08 20:03:09 PDT 2025

Total time taken to generate the page: 0.07513 seconds