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
begin:vcard
fn:Keith L. Constantine, Ph.D.
n:Constantine;Keith
org:Bristol-Myers Squibb Company;Structural Biology and Modeling
adr;quoted-printable;dom:;;P.O. Box 4000=0D=0A=
	Route 206 and Province Line Road=0D=0A=
	Building H, Room H.3112B;Princeton;NJ;08543
email;internet:[EMAIL PROTECTED]
title:Senior Research Investigator II
tel;work:(609)252-6926
tel;fax:(609)252-6030
tel;home:(215)579-0276
x-mozilla-html:FALSE
version:2.1
end:vcard

_______________________________________________
Xplor-nih mailing list
[email protected]
http://dcb.cit.nih.gov/mailman/listinfo/xplor-nih

Reply via email to