Re: get()

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

------=_NextPart_000_0065_01C00B50.08DF1220
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


    atom value1, value2, value3, average, error_code          --why so =
complex ?
    This is less complex than in C++, it just means that value1 etc are =
atoms, as opposed to sequences, integers and objects.
   =20
    error_code =3D 999             --does it have to be an error code? =
What is 999?
    error_code is just a name - it could just as easily be x.  999 is =
simply a value that isn't 0.  Below it says "while error_code !=3D0" =
which means the program will loop until error_code=3D0. =20
   =20
         error_code =3D input[1]        --What is this??? What is [1]
   =20
    input[1] is element 1 of sequence "input" (e.g  =
input=3D{'a','b','c'}  input[1]=3D'a')
   =20
   =20
    Regards,
    Aidan

------=_NextPart_000_0065_01C00B50.08DF1220
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 =
Transitional//EN">
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
<STYLE></STYLE>

</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 solid 2px; MARGIN-LEFT: 5px; PADDING-LEFT: =
5px">
    <DIV><FONT face=3DArial size=3D2>atom value1, value2, value3, =
average,=20
    error_code&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
--why so=20
    complex ?</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT><EM><FONT size=3D2><FONT=20
    color=3D#000000>This is less complex than in C++, it just means that =
value1=20
    etc are atoms, as opposed to sequences, integers and=20
    objects.</FONT></FONT></EM><FONT color=3D#000000></FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>error_code =3D=20
    =
p;=20
    --does it have to be an error code? What is 999?<BR><EM><FONT=20
    color=3D#000000>error_code is just a name - it could just as easily =
be=20
    x.&nbsp; 999 is simply a value that isn't 0.&nbsp; Below it says =
&quot;while=20
    error_code !=3D0&quot; which means the program will loop until=20
    error_code=3D0.</EM>&nbsp;&nbsp;</FONT></FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp;&nbsp; error_code =
=3D=20
    input[1]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --What is this??? =
What is=20
    [1]<BR></FONT></DIV>
    <DIV><EM><FONT color=3D#000000 size=3D2>input[1] is element 1 of =
sequence=20
    &quot;input&quot; (e.g&nbsp; input=3D{'a','b','c'}&nbsp;=20
    input[1]=3D'a')</FONT></EM></DIV>
    <DIV>&nbsp;</DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT color=3D#000000 size=3D2>Regards,</FONT></DIV>
    <DIV><FONT color=3D#000000 =

------=_NextPart_000_0065_01C00B50.08DF1220--

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

Search



Quick Links

User menu

Not signed in.

Misc Menu