Re: structure
- Posted by Derek Parnell <ddparnell at bigpond.com> Jul 26, 2001
- 378 views
This is a multi-part message in MIME format. ------=_NextPart_000_0009_01C11628.C8AF0220 charset="Windows-1252" It is 5 on my machine. Here is the code I executed... global sequence screen screen =3D {} screen =3D append ( screen,{1,3,"Customer Number+ = ",1,1,2,0,5,0,6,0,10}) screen =3D append (screen,{ 10,4,"Name..: ",0,1,3,-99,40,0,0,0,20}) screen =3D append (screen,{ 10,5,"Addr 1: ",0,1,4,-99,25,0,0,0,30}) screen =3D append (screen,{ 10,6,"Addr 2: ",0,1,5,-99,25,0,0,0,40}) screen =3D append (screen,{ 10,7,"City..: ",0,1,6,-99,20,0,0,0,50}) screen =3D append (screen,{ 40,7,"State: ",0,1,7,99,2,0,0,0,60}) =20 =20 ? screen [1][1] --is 1 ? screen [1][2] --is 3 ? screen [1][3] --is "Customer Number+" ? screen [1][8] --is 5 Maybe you have a subtle bug elsewhere? ----- Original Message -----=20 From: gwalters at sc.rr.com=20 To: EUforum=20 Sent: Thursday, July 26, 2001 10:13 PM Subject: structure 3.. global sequence screen screen =3D {} screen =3D append ( screen,{1,3,"Customer Number+ = ",1,1,2,0,5,0,6,0,10}) screen =3D append (screen,{ 10,4,"Name..: ",0,1,3,-99,40,0,0,0,20}) screen =3D append (screen,{ 10,5,"Addr 1: ",0,1,4,-99,25,0,0,0,30}) screen =3D append (screen,{ 10,6,"Addr 2: ",0,1,5,-99,25,0,0,0,40}) screen =3D append (screen,{ 10,7,"City..: ",0,1,6,-99,20,0,0,0,50}) screen =3D 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... ..george Or send an email To: EUforum-unsubscribe at topica.com This email was sent to: ddparnell at bigpond.com ------=_NextPart_000_0009_01C11628.C8AF0220 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Dwindows-1252"> <META content=3D"MSHTML 5.50.4611.1300" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>It is 5 on my machine.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Here is the code I = executed...</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT size=3D2>global sequence screen<BR> screen =3D = {}<BR> screen=20 =3D append ( screen,{1,3,"Customer Number+ = ",1,1,2,0,5,0,6,0,10})<BR> screen=20 =3D append (screen,{ 10,4,"Name..: ",0,1,3,-99,40,0,0,0,20})<BR> = screen =3D=20 append (screen,{ 10,5,"Addr 1: ",0,1,4,-99,25,0,0,0,30})<BR> = screen =3D=20 append (screen,{ 10,6,"Addr 2: ",0,1,5,-99,25,0,0,0,40})<BR> = screen =3D=20 append (screen,{ 10,7,"City..: ",0,1,6,-99,20,0,0,0,50})<BR> = screen =3D=20 append (screen,{ 40,7,"State: = ",0,1,7,99,2,0,0,0,60})<BR> </FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2> <BR>? screen [1][1] --is=20 1<BR>? screen [1][2] --is 3<BR>? = screen=20 [1][3] --is "Customer Number+"<BR>? screen [1][8] --is = 5<BR></FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Maybe you have a subtle bug = elsewhere?</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <BLOCKQUOTE dir=3Dltr=20 style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; = BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV> <DIV=20 style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: = black"><B>From:</B>=20 <A title=3Dgwalters at sc.rr.com=20 href=3D"mailto:gwalters at sc.rr.com">gwalters at sc.rr.com</A> </DIV> <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A = title=3DEUforum at topica.com=20 href=3D"mailto:EUforum at topica.com">EUforum</A> </DIV> <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, July 26, 2001 = 10:13=20 PM</DIV> <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> structure</DIV> <A = <DIV><FONT size=3D2>global sequence screen<BR> screen =3D = {}<BR> =20 screen =3D append ( screen,{1,3,"Customer Number+=20 ",1,1,2,0,5,0,6,0,10})<BR> screen =3D append (screen,{ = 10,4,"Name..:=20 ",0,1,3,-99,40,0,0,0,20})<BR> screen =3D append (screen,{ = 10,5,"Addr 1:=20 ",0,1,4,-99,25,0,0,0,30})<BR> screen =3D append (screen,{ = 10,6,"Addr 2:=20 ",0,1,5,-99,25,0,0,0,40})<BR> screen =3D append (screen,{ = 10,7,"City..:=20 ",0,1,6,-99,20,0,0,0,50})<BR> screen =3D append (screen,{ = 40,7,"State:=20 ",0,1,7,99,2,0,0,0,60})</FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2>EU says that:</FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2> screen [1][1] is 1</FONT></DIV> <DIV><FONT size=3D2> screen [1][2] is 3</FONT></DIV> <DIV><FONT size=3D2> screen [1][3] is "Customer=20 Number+"</FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2>but EU says screen[1][8] is out of bounds and I = would have=20 thought it would be 5!!</FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2>thanks for any ensight...</FONT></DIV> <DIV> </DIV> <DIV><FONT = size=3D2>..george</FONT></DIV><PRE>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= <A = href=3D"http://topica.com/u/?b1dd66.${encoded_sub_id}">http://topica.com/= u/?b1dd66.b2mL5y</A> Or send an email To: EUforum-unsubscribe at topica.com This email was sent to: ddparnell at bigpond.com <A = ------=_NextPart_000_0009_01C11628.C8AF0220--