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 #3265 is a reply to message #3264] Wed, 04 January 1995 12:32 Go to previous messageGo to previous message
afl is currently offline  afl
Messages: 51
Registered: December 1994
Member
In article <hahn.74.00145964@hrz.th-darmstadt.de>, hahn@hrz.th-darmstadt.de (Norbert Hahn) writes:
|> Obviously I'm unable to execute compound statements:
|>
|> When I write the following loop:
|> for i=1L, 4 do begin
|> help, i
|>
|> I get
|> I LONG = 5
|>
|> and it looks as if begin is immediately followed by end:
|>
|> IDL. Version 3.6.1b (windows 3.1).
|> Copyright 1989-1994, Research Systems, Inc.
|> All rights reserved. Unauthorized reproduction prohibited.
|>
|> IDL> repeat begin
|> All rights reserved. Unauthorized reproduction prohibited.
|> & END
|> ^
|> % Syntax error.
|>
|> Any clue ?
|>
|> Norbert Hahn


I wonder if what you meant to do is....
IDL> .run
- for i = 1L, 4 do begin
- help, i
- endfor
- end

or even
IDL> for i = 1L, 4 do help, i

The example you gave is not a complete statement if entered
on the command line.

--

Andrew F. Loughe email: afl@cdc.noaa.gov
University of Colorado, CIRES voice: (303) 492-0707
Campus Box 449 fax: (303) 497-7013
Boulder, CO 80309-0449 USA
[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 17:45:30 PDT 2025

Total time taken to generate the page: 0.00410 seconds