structure

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

This is a multi-part message in MIME format.

------=_NextPart_000_0027_01C115AA.D6FB46A0
	charset="Windows-1252"

Can someone explain the structure here. EU says screen has a length of =
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

------=_NextPart_000_0027_01C115AA.D6FB46A0
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 content=3D"text/html; charset=3Dwindows-1252" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3105.105" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Can someone explain the structure here. EU =
says&nbsp;screen=20
has a length of 3..</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>global sequence screen<BR>&nbsp; screen =3D =
{}<BR>&nbsp; screen=20
=3D append ( screen,{1,3,"Customer Number+ =
",1,1,2,0,5,0,6,0,10})<BR>&nbsp; screen=20
=3D append (screen,{ 10,4,"Name..: ",0,1,3,-99,40,0,0,0,20})<BR>&nbsp; =
screen =3D=20
append (screen,{ 10,5,"Addr 1: ",0,1,4,-99,25,0,0,0,30})<BR>&nbsp; =
screen =3D=20
append (screen,{ 10,6,"Addr 2: ",0,1,5,-99,25,0,0,0,40})<BR>&nbsp; =
screen =3D=20
append (screen,{ 10,7,"City..: ",0,1,6,-99,20,0,0,0,50})<BR>&nbsp; =
screen =3D=20
append (screen,{ 40,7,"State: ",0,1,7,99,2,0,0,0,60})</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>EU says that:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; screen [1][1] is 1</FONT></DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; screen [1][2] is 3</FONT></DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; screen [1][3] is "Customer=20
Number+"</FONT></DIV>
<DIV>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT size=3D2>thanks for any ensight...</FONT></DIV>
<DIV>&nbsp;</DIV>

------=_NextPart_000_0027_01C115AA.D6FB46A0--

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

Search



Quick Links

User menu

Not signed in.

Misc Menu