Dear XPLOR-NIH users:

I am (finally) moving from X-PLOR to XPLOR-NIH, and I've ecountered a 
problem with legacy scripts containing nested while loops. The nesting 
worked in XPLOR 98.1 under UNIX, but gives errors when the exact same 
script is run in XPLOR-NIH 2.15.0 under Linux.

The follwing are excerpts from a log file generated with XPLOR 98.1 run 
under UNIX:

 X-PLOR>while ($lasti GE $currenti) loop main
 NEXTCD: condition evaluated as true

 X-PLOR>while ($rcon  < 0.1) loop stg2
 NEXTCD: condition evaluated as true

When run using XPLOR-NIH 1.15.0 under Linux, the first (outer) while 
loop works fine, but the inner loop fails:

 X-PLOR>while ($lasti GE $currenti) loop main
 NEXTCD: condition evaluated as true

 X-PLOR>while ($rcon  < 0.1) loop stg2
 %X-PLOR-ERR: unrecognized command:
 while
 ^^^^^

Has anyone enountered problems with nested while loops when running 
legacy XPLOR scripts with XPLOR-NIH? If anyone knows of a simple way to 
fix this,  I would very much appreciate your help. I could re-write my 
legacy scripts based on the examples provided with XPLOR-NIH, but a 
quick fix would be a big time saver it it is possible. Thank you very much.

    Keith Constantine
-------------- next part --------------
A non-text attachment was scrubbed...
Name: keith.constantine.vcf
Type: text/x-vcard
Size: 453 bytes
Desc: not available
Url : 
http://dcb.cit.nih.gov/pipermail/xplor-nih/attachments/20071011/ec00ac43/attachment.vcf
 

Reply via email to