1. integer type
------=_NextPart_000_0007_01BFD6CF.BCA88BC0
charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable
i dont know when to use integer type instead of atom.
now i mostly use it just as boolean (when 0 or 1)
do i gain a lot of speed using integer instead of atom?
cause i want my programs to be fast.
example: can a string be longer than maximum integer number
at which biggest number will integer type cause error, when atom =
wouldnt?=20
------=_NextPart_000_0007_01BFD6CF.BCA88BC0
charset="iso-8859-2"
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-2" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3401" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>i dont know when to use integer type =
instead of=20
atom.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>now i mostly use it just as boolean =
(when 0 or=20
1)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>do i gain a lot of speed using integer =
instead of=20
atom?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>cause i want my programs to be =
fast.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>example: can a string be longer than =
maximum=20
integer number</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>at which biggest number will =
integer type=20
cause error, when atom wouldnt? </FONT></DIV>
<DIV> </DIV>
------=_NextPart_000_0007_01BFD6CF.BCA88BC0--
2. Re: integer type
On Thu, 15 Jun 2000 13:43:50 +0200, <tone.skoda at SIOL.NET> wrote:
>i dont know when to use integer type instead of atom.
>now i mostly use it just as boolean (when 0 or 1)
>do i gain a lot of speed using integer instead of atom?
>cause i want my programs to be fast.
>example: can a string be longer than maximum integer number
>at which biggest number will integer type cause error, when atom wouldnt?
May I suggest reading the Euphoria Reference Manual? Section 2 (Language
Definition) will answer all of those questions and more.
-- Brian