General information
Category:
Coding, syntax & commands
Thanks for correcting me, I forgot about checking the type of the field :(
The count of fields is finite, but since I want to stop as soon as I find a "Y", I prefer the DO WHILE loop option because I'm allergic to EXIT in a loop.
>Danger Will Robinson! You've gone and assumed that all fields are a character type...at least check TYPE(laStruct[lnI,1]) to make sure it's "C"
>
>Also, since the count of fields is finite, I'd probably use a FOR...NEXT loop.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only