Re: Creating a sequence from integers
- Posted by don cole <doncole at pacbell.net> Feb 15, 2007
- 448 views
Rich Klender wrote: > > This is probably very basic but it's stumping me. > > Lets say I have the following: > > integer x > integer y > > x=1 > y=1 > > What I want is to combine them in the sequence {11} {1,1} . Can I just do this by > assigning them to a variable: > > sequence combined = {xy} {x,y} > > Sorry, looked all thru the manual and couldn't find a representative example. > > Thanks! > Rich
integer x,y sequence combined x=1 y=2 combined={x,y} --combined[1]would =1 --combined[2]would =2
David Gay's tutorial goes into this quit extensivly. Hope this helps, Don Cole