Why not using 

SLOCP or SLOC

Not knowing all the details I guess you are looking for a space.

Using one of the above functions will return the exact position of the first
space or the last if you like (SLOCP)

 

If you like to replace the space by another character have a look at SRPL

 

Tony IJntema

 

From: [email protected] [mailto:[email protected]] On Behalf Of Luc
Delcoigne
Sent: woensdag 22 december 2010 11: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

Reply via email to