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

Home » Public Forums » archive » repeat.. until loops
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
repeat.. until loops [message #15937] Sat, 26 June 1999 00:00 Go to previous message
Craig Aranjo is currently offline  Craig Aranjo
Messages: 3
Registered: June 1999
Junior Member
Why does this not work in IDL??

repeat begin
if img(i, half_col) ge 245 then row_start = i $
else i = i + 1
endrep $
until img(i, half_col) ge 245


I am looking at a binary image for the first white pixel halfway down the
image (moving inwards).
It always gives me an error that exceeds the maximum row valuie of the
image.


Any ideas.... I'm sure this is a really silly question.
[Message index]
 
Read Message
Read Message
Previous Topic: Crazy use of MAX function.
Next Topic: Specifying DOUBLE precision and using WHERE

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

Current Time: Fri Oct 10 11:02:53 PDT 2025

Total time taken to generate the page: 1.83844 seconds