HP3000-L Archives

February 1999, Week 2

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:
John Krussel <[log in to unmask]>
Reply To:
Date:
Thu, 11 Feb 1999 15:51:58 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (27 lines)
OK I'm stumped and I need some help

I'm using the "ANYPARM" parameter to pick up a long string in a command
file.  The string may or may not have embedded quotes in it, they maybe
single quotes or double quotes. I then want to try to find a string in the
parameter.  I've tried doing the following.

IF SETVAR(_DUMMY_POS,POS(';TEMP',"!P2")) <> 0 THEN

But this resolves to

IF SETVAR(_DUMMY_POS,POS(';TEMP',"UPS("SLKDJFlkjlk");TEMP")) <> 0 THEN
and then I get to following
A string operator was expected but none was found. (CIERR 9755)

This works fine if there are only single quotes in P2, but if there are
double quotes I get what's above
(because the !P2 parameter has double quotes)

I would really like to make this work if P2 has single or double quotes, can
any one help

John Krussel
Nordstrom
[log in to unmask]
http://www.nordstrom.com

ATOM RSS1 RSS2