Eric Armstrong wrote:
> Allen,
> Regarding your loop structure below. What happens if the ID is empty string?
> Won't it bail out before all the ids are read!
> 
> Eric Armstrong
> Lobel Financial
> IT Dept

Nope.  It's running off of an active select list, it'll process the
record.  Since I'm selecting the file pointer, rather than executing a
SELECT, I'm going on the assumption that I want to process every record
in the file.

If, as stated in another response to this thread, the poster doesn't
want the record that has a null-id to be processed, then I'd probably do
something like this:

SELECT FILENAME
LOOP WHILE READNEXT ID
  IF (ID) THEN
    CODE
    CODE
    CODE with GOSUB
    CODE
    CODE
  END ELSE
    Error handling code
  END
REPEAT


-- 
Allen Egerton  aeger...@pobox.com  860-912-8067
PGP Key ID 0x8EA57261
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to