Re: structure

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Thursday 26 July 2001 08:13, gwalters at sc.rr.com wrote:

> Can someone explain the structure here. EU says screen has a length of 3..
>
> global sequence screen
>   screen = {}
>   screen = append ( screen,{1,3,"Customer Number+ ",1,1,2,0,5,0,6,0,10})
>   screen = append (screen,{ 10,4,"Name..: ",0,1,3,-99,40,0,0,0,20})
>   screen = append (screen,{ 10,5,"Addr 1: ",0,1,4,-99,25,0,0,0,30})
>   screen = append (screen,{ 10,6,"Addr 2: ",0,1,5,-99,25,0,0,0,40})
>   screen = append (screen,{ 10,7,"City..: ",0,1,6,-99,20,0,0,0,50})
>   screen = append (screen,{ 40,7,"State: ",0,1,7,99,2,0,0,0,60})
>
> EU says that:
>
>     screen [1][1] is 1
>     screen [1][2] is 3
>     screen [1][3] is "Customer Number+"
>
> but EU says screen[1][8] is out of bounds and I would have thought it would
> be 5!!
>
> thanks for any ensight...

Erm.. I copied and pasted your code, and Eu reports screen[1][8] as 
being 5.  

Regards,
Irv

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu