Re: get()
- Posted by Aidan Bindoff <abindoff at ONE.NET.AU> Aug 21, 2000
- 496 views
------=_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> </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 = --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> </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. 999 is simply a value that isn't 0. Below it says = "while=20 error_code !=3D0" which means the program will loop until=20 error_code=3D0.</EM> </FONT></FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2> error_code = =3D=20 input[1] --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 "input" (e.g input=3D{'a','b','c'} =20 input[1]=3D'a')</FONT></EM></DIV> <DIV> </DIV> <DIV> </DIV> <DIV><FONT color=3D#000000 size=3D2>Regards,</FONT></DIV> <DIV><FONT color=3D#000000 = ------=_NextPart_000_0065_01C00B50.08DF1220--