HP3000-L Archives

September 2005, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Lars Appel <[log in to unmask]>
Reply To:
Lars Appel <[log in to unmask]>
Date:
Tue, 27 Sep 2005 22:16:06 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (33 lines)
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 *

ATOM RSS1 RSS2