:[EMAIL PROTECTED] On
Behalf Of Gordon Glorfield
Sent: Tuesday, April 27, 2004 12:18 PM
To: 'U2 Users Discussion List'
Subject: RE: Help on uv syntax, please
To do what you are saying I would use the RAISE function.
NEWARRAY = RAISE(OLDARRAY)
This would change all @SVM to @VM. Of course you
Hi.
Anybody got the syntax for universe for changing one string to another in an
array? Mostly I use it for changing a subvalued field into a multivalued
one.
In Unidata, for example, its
NEWARRAY = CHANGE(OLDARRAY,SVM,VM)
I'm looking for a similar function in universe.
(p.s. if you
By array I assume you mean dynamic array and, as such, would use:
NEWARRAY = CHANGE(OLDARRAY,@SVM, @VM)
At 12:47 PM 4/27/2004, you wrote:
Hi.
Anybody got the syntax for universe for changing one string to another in an
array? Mostly I use it for changing a subvalued field into a multivalued
: Help on uv syntax, please[Scanned]
Actually CONVERT will only work to replace 1 character with 1 other
character (well, it's more complicated than that because you provide
a list of character to replace and another list of character to
use for replacement but it's positionally dependant). It's
] [mailto:[EMAIL PROTECTED] On
Behalf Of Susan Joslyn
Sent: Tuesday, April 27, 2004 11:48 AM
To: [EMAIL PROTECTED]
Subject: Help on uv syntax, please
Hi.
Anybody got the syntax for universe for changing one string to another in an
array? Mostly I use it for changing a subvalued field
)
301-360-8839
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Susan Joslyn
Sent: Tuesday, April 27, 2004 12:48 PM
To: [EMAIL PROTECTED]
Subject: Help on uv syntax, please
Hi.
Anybody got the syntax for universe for changing one string
http://publibfi.boulder.ibm.com/epubs/pdf/25119090.pdf
10.1 Basic Ref, pg 162
CHANGE (expression, substring, replacement [ ,occurrence [ ,begin] ] )
--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users
I use CONVERT expression1 TO expression2 IN variable
Don't use CONVERT! Example:
CRT CONVERT( 'Muffet', 'Piggy', 'Little Miss Muffet sat on a tuffet
eating her curds and whey.' )
yields the string:
Lily Piss Piggy sa on a iggy yaing hyr cirds and whyy.
which is offensive enough
-Original Message-
From: Stevenson, Charles [mailto:[EMAIL PROTECTED]
[snip]
Don't use CONVERT! Example:
[snip]
But it's great for things like:
LINE = PRINT.ARRAYLINE.CTR
CONVERT @VM:0.- TO IN LINE
IF LINE # THEN
GOSUB PRINT.LINE
END
I stand corrected. I don't