Looks like this would be a great candidate for an enhancement request so that 

 (CHKCUR('cursorname')), (CHKFILE('filespec')), (CHKVAR('varname')) and other 
such functions

accept a .variable name in addition to hard coding


Jim Bentley,
American Celiac Society
1-504-737-3293


________________________________
 From: Buddy <[email protected]>
To: RBASE-L Mailing List <[email protected]> 
Sent: Friday, November 30, 2012 4:56 PM
Subject: [RBASE-L] - Re: While loop problem
 

Dennis
The same thing happened to me not with CHKVAR but with just building a command. 
The only work around I found was to put that an external
 
  Where you have this in your code do 
 
RUN SomeexternalFile.comd
 
******  SomeexternalFile.cmd starts here************
 
  ('set var vVarDataNameChk = (CHKVAR(''' + .vVarDataName + '''))')
  &vVarDataCmd
 
RETURN
 
********ends here********************
 
Buddy
 
 
 
From:[email protected] [mailto:[email protected]] On Behalf Of Dennis McGrath
Sent: Friday, November 30, 2012 5:14 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: While loop problem
 
Nope,  I tried whileopt off
 
 

Dennis McGrath
[email protected]
[email protected]


On Fri, Nov 30, 2012 at 11:27 AM, Albert Berry <[email protected]> wrote:
Dennis, this is probably already true, but anyway SET WHILEOPT OFF and try 
again.
Albert

On 30/11/2012 9:14 AM, Dennis McGrath wrote:

SET VAR vVarDataCmd = +

      ('set var vVarDataNameChk = (CHKVAR(''' + .vVarDataName + '''))')

  &vVarDataCmd

CHKVAR will only take a quoted string, not a dotted variable, so I had to write 
the code this way.

I cannot put this in a while loop

it does not like the &vVarDataCmd

it says Unrecognized command in entry/exit procedure.

the same code works in a goto loop, but that is too slow.

Any blues clues?

Dennis McGrath

Software Developer

QMI Security Solutions

1661 Glenlake Ave

Itasca IL 60143

630-980-8461

[email protected]

No virus found in this message.
Checked by AVG - www.avg.com <http://www.avg.com>
Version: 2013.0.2793 / Virus Database: 2629/5920 - Release Date: 11/26/12

Reply via email to