Re: Definition of terms

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

------=_NextPart_000_001F_01C015D4.7FA147A0
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Thomas,

Forgot to answer your last question:

' is used for an atom,  thus

atom x
x=3D 'A'

is the same as
atom x
x=3D65 -- (65 is the ASCII code for A)

while " is used for a sequence

sequence y
y=3D"AB"

is the same as

sequence y
y=3D{65,66}

and

sequence y
y=3D"A"

is the same as

sequence y
y=3D{65}

-- Mike Nelson
  ----- Original Message -----=20
  From: Paul Kerslake=20
  To: EUPHORIA at LISTSERV.MUOHIO.EDU=20
  Sent: Sunday, September 03, 2000 5:42 PM
  Subject: Definition of terms


  Can someone tell me and give me an example of; a constant, a procedure =
and a function. Also, I'd like to know what the difference between " and =
' is.

  8-)

  puts(1,"Thanks")
  --Thomas



------=_NextPart_000_001F_01C015D4.7FA147A0
        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.2919.6307" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Thomas,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Forgot to answer your last question:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>' is used for an atom,  thus</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>atom x</FONT></DIV>
<DIV><FONT size=3D2>x=3D&nbsp;'A'</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>is the same as</FONT></DIV>
<DIV><FONT size=3D2>atom x</FONT></DIV>
<DIV><FONT size=3D2>x=3D65 -- (65 is the ASCII code for A)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>while " is used for a sequence</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>sequence y</FONT></DIV>
<DIV><FONT size=3D2>y=3D"AB"</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>is the same as</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>sequence y</FONT></DIV>
<DIV><FONT size=3D2>y=3D{65,66}</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>and</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>sequence y</FONT></DIV>
<DIV><FONT size=3D2>y=3D"A"</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>is the same as</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>sequence y</FONT></DIV>
<DIV><FONT size=3D2>y=3D{65}</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>-- Mike Nelson</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:paulk at UNISERVE.COM" title=3Dpaulk at UNISERVE.COM>Paul =
Kerslake</A>=20
  </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> Sunday, September 03, =
2000 5:42=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Definition of =
terms</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=3DArial size=3D2>Can someone tell me and give me an =
example of; a=20
  constant, a procedure and a function. Also, I'd like to know what the=20
  difference between " and ' is.</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>8-)</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>puts(1,"Thanks")</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>--Thomas</FONT></DIV>
  <DIV>&nbsp;</DIV>

------=_NextPart_000_001F_01C015D4.7FA147A0--

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

Search



Quick Links

User menu

Not signed in.

Misc Menu