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

Home » Public Forums » archive » keypressed pauses program - how to do that?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
keypressed pauses program - how to do that? [message #3067] Sat, 05 November 1994 09:05 Go to previous message
frank is currently offline  frank
Messages: 15
Registered: August 1993
Junior Member
Hi all,
basically what I have is a program like this:

FOR loop=0,1000 DO BEGIN
TVSCL, image(loop)
WAIT, 2
ENDFOR

because the images aren't very big it's quite fast.
to make it slower I inserted a 'WAIT, 2' after the TVSCL line.
But that's not what I want to do. It would be much nicer to have something
like a key-controled slide-show, where e.g. <space> toggles pause/slide mode
and e.g <return> (in pause mode) advances the images manually.
I know there's some function for keyboard-stuff in IDL, but I don't know it's
name, and I have no idea how to implement it, that it works the waz I described
above. Maybe somebody wrote something similar an can help me out now.

thanx in advance

--
Frank Hoffsuemmer _ /| ACK E-Mail:frank@chaos.uni-frankfurt.de
Institut fuer Theor. Physik \'o_O' /
Robert-Mayer-Str. 8 =( )= Office: Phone (49) 69 / 798-3359
D-60054 Frankfurt am Main U Fax (49) 69 / 798-8354
Germany
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Floating Point Bug on Intel Pentium CPUs
Next Topic: Q: square plots in IDL

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

Current Time: Wed Oct 08 19:37:23 PDT 2025

Total time taken to generate the page: 0.00423 seconds