[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: VAriables on the command line.
- Subject: Re: VAriables on the command line.
- From: Harry Binswanger hb@xxxxxxxx
- Date: Sat, 02 Feb 2013 00:10:02 -0500
I understand that {240} means "contains." But not what does. I
even understand that VA@01 contains the text in sg01. Why does ".1" do the
lopping off? Or does it?
It's new in Xy4--a string slicer, sort of. Suppose you have this string
stored in s/g 01
aaaaa-bbb-cccccccccccccccc-d-eee
Then
returns aaaaa
returns bbb
returns cccccccccccccccc
and so on.
Here's a little program to demonstrate. Use XYDEC on it:
'%--_XYENCode_start--
~',*','^~',*',
'^~',*','^~~>',*','^'FF'BC~'._
~',*','^~',*','^~~+1
~>',*','^~<6~>~~',*','^~~'^
'%--_XYENCode___end--
Carl, you are holding a programming clinic here, so I don't feel too bad
asking beginner's questions . . .
On Fri, Feb 1, 2013 at 5:22 PM, Fred Weiner
<mailto:fw1948@xxxxxxxxfw1948@xxxxxxxx> wrote:
'%--_XYENCode_start--
20=NOJM2,.,P,r,s,K,b,d,A,R,g,Q2x,m,_,[,S,X,0,1,CO[,V,A,$,F,I,],]
,[,I,F,[,I,S,0,1,],~=,",.,",],[,S,X,0,1,CO[,V,A,@,0,1,.,1,],],
[,E,I,],COB,X,t,y,f,/,n,v,_,CO[,P,V,0,1,],.,p,s,Q,2,NO'^
'%--_XYENCode___end--
It all works as designed, including the blink-of-an-eye Wally Bass derived
decode. Question: why the commas B,X . . . Q,2 executing the tyf/nv
portion? A requirement of XM (which also reads x,m,)? For the n'th time,
thanks Carl.