Re: atom

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

------=_NextPart_000_000A_01BFE9AD.3DCB2240
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Ferdinand
The error means that you're trying to do sequence operations on an atom. =

ie
sequence a
a=3D{1,2,3,4}
b=3Da[1] -- no error

but=20

atom a
a =3D 1
b =3D a[1] -- Attempting to subscript an atom(reading from it)

also
sequence a
a=3D{1,2,3,4}
b=3Da[1][1] -- Attempting to subscript an atom(reading from it)
because a[1] is an atom that is a part of the sequence a

Bye
Martin

  ----- Original Message -----=20
  From: Ferdinand Greyling=20
  To: EUPHORIA at LISTSERV.MUOHIO.EDU=20
  Sent: Friday, July 07, 2000 3:38 PM
  Subject: atom


  Why do I get the error "Atempting to subscript an atom(reading from =
it)" ?
  Its realy a pain in the backside .
  thanks

  If you can program in C++ and like to play games , then check out =
www.3drealms.com because thy need someone to help them with Duke Nukem =
Forever .

  Ferdinand Greyling
  from
  Terminal Software

------=_NextPart_000_000A_01BFE9AD.3DCB2240
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Hi Ferdinand</FONT></DIV>
<DIV>The error means that you<FONT size=3D2>'re trying to do sequence =
operations=20
on an atom. </FONT></DIV>
<DIV>ie</DIV>
<DIV>sequence a</DIV>
<DIV>a=3D{1,2,3,4}</DIV>
<DIV>b=3Da[1] -- no error</DIV>
<DIV>&nbsp;</DIV>
<DIV>but </DIV>
<DIV>&nbsp;</DIV>
<DIV>atom a</DIV>
<DIV>a =3D 1</DIV>
<DIV>b =3D a[1] -- Attempting to subscript an atom(reading from =
it)</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>also</FONT></DIV>
<DIV><FONT size=3D2>
<DIV>sequence a</DIV>
<DIV>a=3D{1,2,3,4}</DIV>
<DIV>b=3Da[1][1] -- Attempting to subscript an atom(reading from =
it)</DIV>
<DIV><FONT size=3D2>because a[1] is an atom that is a part of the =
sequence=20
a</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>Bye<BR>Martin<BR></DIV></FONT></DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-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 href=3D"mailto:mwfch at MWEB.CO.ZA" title=3Dmwfch at MWEB.CO.ZA>Ferdinand =

  Greyling</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
  href=3D"mailto:EUPHORIA at LISTSERV.MUOHIO.EDU"=20
  title=3DEUPHORIA at LISTSERV.MUOHIO.EDU>EUPHORIA at LISTSERV.MUOHIO.EDU</A> =
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Friday, July 07, 2000 =
3:38 PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> atom</DIV>
  <DIV><BR></DIV>
  <DIV>Why do I get the error "Atempting to subscript an atom(reading =
from it)"=20
  ?</DIV>
  <DIV>Its realy a pain in the backside .</DIV>
  <DIV>thanks</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>If&nbsp;you can program in C++ and like to play games , then =
check out <A=20
  href=3D"http://www.3drealms.com">www.3drealms.com</A> because thy need =
someone=20
  to help them with Duke Nukem Forever .</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Ferdinand Greyling</DIV>
  <DIV>from</DIV>

------=_NextPart_000_000A_01BFE9AD.3DCB2240--

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

Search



Quick Links

User menu

Not signed in.

Misc Menu