Re: Newby ALERT
Thanks, now I understand the concept.
> -----Original Message-----
> From: Mike Sabal [SMTP:MikeS at NOTATIONS.COM]
> Sent: Wednesday, May 10, 2000 2:13 PM
> To: EUPHORIA at LISTSERV.MUOHIO.EDU
> Subject: Re: Newby ALERT
>
> >>> Brad.Harper at MED.VA.GOV 05/10/00 01:33PM >>>
> ltxtnum = {1,2,3,4,5,6} -- WHY DO I HAVE TO ASSIGN A BEGINNING VALUE AND
> NOT
> JUST THE SIZE
> lbtn ={1,2,3,4,5,6} -- SAME HERE
> <<<
>
> Euphoria uses dynamic data structures -- sequences. The concept of a
> fixed length sequence is foreign to Euphoria without using low-level
> memory access. That said, you can initialize a sequence using repeat.
>
> ltxtnum = repeat(0,6) -- same as ltxtnum = {0,0,0,0,0,0}
>
> Then later, you can fill in the data
>
> for aa = 1 to 6 do
> ltxtnum[aa] = rand(6)
> end for
>
> HTH,
> Michael J. Sabal
|
Not Categorized, Please Help
|
|