Luc,
Try this structure:
While 1 = 1 THEN
.. do whatever
SET VAR vx = (SGET(.vnote,1,.vsloc))
IF vx = (CHAR(32)) THEN
BREAK
ENDIF
.. do whatever else
ENDWHILE
Emmitt Dove
Converting Systems Architect
Evergreen Packaging, Inc.
[email protected]
(203) 214-5683 m
(203) 643-8022 o
(203) 643-8086 f
[email protected]
From: [email protected] [mailto:[email protected]] On Behalf Of Luc
Delcoigne
Sent: Wednesday, December 22, 2010 05:44
To: RBASE-L Mailing List
Subject: [RBASE-L] - re: evaluation problem
Hi,
in a code I run this line :
WHILE (SGET(.vnote,1,.vsloc)) <> (CHAR(32)) THEN
....
Endwhile
This is supposed to check if the SGET-var is a space or not.
The problem is that the WHILE-loop continues to run even when th SGET-var is
a space.
So the evaluation does not work correctly.
What am I overlooking ?
Luc Delcoigne