Discussion:
NIST08 with old versions of Chemstaion
(too old to reply)
Tietz
2011-01-06 00:29:57 UTC
Permalink
Dear reader,

I am a researcher at a Brisbane uni Australia, and while updating our
NIST to NIST08 have discovered the “_$ undefined” and “error line too
long” messages

After trawling the internet, have found a site that makes mention to
it.

“Note for old ChemStations (B1701BA): the error about $_ undefined can
be resolved by replacing $_(number, string) with string in the
ChemStation macros.”

I have located the relevant macros and have replaced _$ with string
(in my macros they are _$ not $_ for some reason).

As in
-original:
footer$=_$(37800," NIST Tabular Report ")+time$()+"
"+_$(37801," Page ")

-changed to:
footer$=string(37800," NIST Tabular Report ")+time$()
+" "+string(37801," Page ")

-or to:
footer$=string" NIST Tabular Report "+time$()+"
"+string" Page "

both do not appear to be working.

Sorry to ask for assistance, but a bit stuck here. Is there something
else I should have been doing? I am assuming I have a syntax error in
writing this as a string.

Thank you so much for any and all assistance. I hope all of your
holidays were great and the new year continues to be so.

Regards

Albert Tietz
Theodore Heise
2011-01-15 17:36:52 UTC
Permalink
On Wed, 5 Jan 2011 16:29:57 -0800 (PST),
Post by Tietz
Dear reader,
I am a researcher at a Brisbane uni Australia, and while updating our
NIST to NIST08 have discovered the ?_$ undefined? and ?error line too
long? messages
After trawling the internet, have found a site that makes mention to
it.
?Note for old ChemStations (B1701BA): the error about $_ undefined can
be resolved by replacing $_(number, string) with string in the
ChemStation macros.?
I have located the relevant macros and have replaced _$ with string
(in my macros they are _$ not $_ for some reason).
As in
footer$=_$(37800," NIST Tabular Report ")+time$()+"
"+_$(37801," Page ")
footer$=string(37800," NIST Tabular Report ")+time$()
+" "+string(37801," Page ")
footer$=string" NIST Tabular Report "+time$()+"
"+string" Page "
both do not appear to be working.
Sorry to ask for assistance, but a bit stuck here. Is there something
else I should have been doing? I am assuming I have a syntax error in
writing this as a string.
Thank you so much for any and all assistance. I hope all of your
holidays were great and the new year continues to be so.
Regards
Albert Tietz
Have you tried:

footer$="NIST Tabular Report "+time$()+"
"+_$(37801," Page ")

Not sure what (if anything) needs to happen on the second line, or
even if it is actually two lines or was wrapped in your post.

What error messages do you get after the changes?

Have you tried contacting Scientific Instrument Services, as the
rest of the hint you found suggests?
--
Theodore (Ted) Heise <***@heise.nu> Bloomington, IN, USA
Loading...