[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: length of strings
- Subject: Re: length of strings
- From: Harry Binswanger hb@xxxxxxxx
- Date: Sat, 15 Jan 2011 15:42:09 -0500
Oh. That makes perfect sense. And I take it that the
conversion of a s/g from numeric to string is accomplished by doing an
> as you did below.
Thanks, Carl!
Reply to note from Harry Binswanger
Sat, 15 Jan
2011 11:14:03 -0500
> This must have to do with the SX vs SV representation of
> strings that you wrote about recently, but it is confusing.
The
> length of this string turns out to be 5 not 3.
Right. VA| requires a string; you're feeding it a numeric value
("+1>" pokes a number into S/G 05).
Compare the results
here:
XPLeNCODE v2.0
b-gin [UNTITLED]
{<}SV04,115{>}{<}SX05,{<}PV04{>}+1{>}{<}SX05,{<}IS05{>}{>}{<}
SX06,{<}VA|05{>}{>}[BC_]{<}PV05{>} |
{<}PV06{>}{<}EI{>};*;[cr
|lf]
-nd
XPLeNCODE
--
Carl Distefano
cld@xxxxxxxx
Harry Binswanger
hb@xxxxxxxx