Subject: | |
From: | |
Reply To: | |
Date: | Tue, 27 Sep 2005 22:16:06 +0200 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Nigel Skeet wrote:
> if lft(""05781CHEETAH CHEETAH
> EURSTTPMGATEUPJ " 0
> 0006000
> ,10) = "Gateway IP" then
> ^
> A string operator was expected but none was found. (CIERR 9755)
...
> while gateeof > 0
> input gateline < gatefile
> setvar gateeof gateeof - 1
>
> if lft("!gateline",10) = "Gateway IP" then
...
While I am no Maestro guru, I still wonder if your command
file might probably just have an issue when attempting to read
and process a line which contains quoted strings...
Your IF statement should better read IF LFT(gateline,10) to
avoid problems with the gateline variable containing embedded
quote characters. The explicit !gateline substitution seems
not only unneccessary, but counter-productive in this case...
Regards, Lars.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|