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

Home » Public Forums » archive » CASE looping - reg
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
CASE looping - reg [message #79177] Mon, 06 February 2012 21:21
shambhu is currently offline  shambhu
Messages: 41
Registered: December 2011
Member
Hi all,

I have a CASE code snippet which goes like below. I wanted to put the
CASE in loop which should ask user choice, after execution of each
CASE. Unless and unti user select exit option it should keeps on
asking for user CHOICE to execute. In below code i have 4 Case and 5th
CASE is for exit.
;
;
PRINT, 'ENTER YOUR CHOICE'
READ, CH

CASE CH OF
1: BEGIN
;
;
[Message index]
 
Read Message
Previous Topic: ENVI or IDL Analyst License
Next Topic: CONTOURing one dimension data

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

Current Time: Wed Oct 08 14:00:00 PDT 2025

Total time taken to generate the page: 0.00537 seconds