1. Platform Identification Athlon 700

------=_NextPart_000_0009_01C032B0.C3979CE0
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I'm new with Euphoria system.
I have install on my PC   euphoria 2.2
I'm working on dos32 normaly
**********************************************************
System description :

Athlon  700 Mhz with Grafik  AGP Riva Tnt 32 Meg
OS : Win 98 pack 2  or Dos 6.22
**********************************************************
Problem :
Software doesn't seem do identify EX .exe  as  Dos32 system
EXW.exe  wok well in Win32
Include file always report  Platform is not identified  (I'm with Dos32 =
)

Exemple

If Platform( ) =3D Linux then
   Blablabla
else
   Blalblabla
end if
************************************************************
I have install on a PC with  Pentium 2  450 Mhz with intel 740 grafik =
card
Os : win98 pack2
and everything work well.

Somebody has an idea if the problem is cause by the Athlon 700 Mhz Cpu =
or ...

Thank in advance for help

Yves

------=_NextPart_000_0009_01C032B0.C3979CE0
        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>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>I'm new with Euphoria system.</FONT></DIV>
<DIV><FONT size=3D2>I have install on my PC&nbsp;&nbsp; euphoria =
2.2</FONT></DIV>
<DIV><FONT size=3D2></FONT><FONT color=3D#000000 size=3D2>I'm working on =
dos32=20
normaly</FONT></DIV>
<DIV><FONT color=3D#000000=20
></DIV>
<DIV><FONT size=3D2>System description :</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Athlon&nbsp; 700 Mhz with Grafik&nbsp; AGP Riva Tnt =
32=20
Meg</FONT></DIV>
<DIV><FONT size=3D2>OS : Win 98 pack 2&nbsp; or Dos 6.22</FONT></DIV>
<DIV><FONT size=3D2></FONT><FONT color=3D#000000=20
></DIV>
<DIV><FONT size=3D2>Problem :</FONT></DIV>
<DIV><FONT size=3D2></FONT><FONT color=3D#000000 size=3D2>Software =
doesn't seem do=20
identify EX .exe&nbsp; as&nbsp; Dos32 system</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT><FONT size=3D2>EXW.exe&nbsp; =
wok well in=20
Win32</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT><FONT size=3D2>Include file =
always=20
report&nbsp; Platform is not identified&nbsp; (I'm with Dos32 =
)</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Exemple</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>If Platform( ) =3D Linux then</FONT></DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp; Blablabla</FONT></DIV>
<DIV><FONT size=3D2>else</FONT></DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp; Blalblabla</FONT></DIV>
<DIV><FONT size=3D2></FONT><FONT color=3D#000000 size=3D2>end =
if</FONT></DIV>
<DIV><FONT color=3D#000000=20
NT></DIV>
<DIV><FONT color=3D#000000 size=3D2>I have install on a PC with&nbsp; =
Pentium=20
2&nbsp; 450 Mhz with intel 740 grafik card</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT><FONT size=3D2>Os : win98=20
pack2</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT><FONT size=3D2>and everything =
work=20
well.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Somebody has an idea if the problem =
is cause by=20
the Athlon 700 Mhz Cpu or ...</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Thank in advance for =
help</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>

------=_NextPart_000_0009_01C032B0.C3979CE0--

new topic     » topic index » view message » categorize

2. Re: Platform Identification Athlon 700

Hello Yves,


>Problem :
>Software doesn't seem do identify EX .exe  as  Dos32 system
>EXW.exe  wok well in Win32
>Include file always report  Platform is not identified  (I'm with Dos32 )
>
>Exemple
>
>If Platform( ) = Linux then
>    Blablabla
>else
>    Blalblabla
>end if
>************************************************************

I'm not sure but it seems like you are saying that
with your current system, you can't use the platform()
function. I've never seen anything like the error:
"Platform not identified" as you say above. Now if
it said "platform is not declared" that would mean
you aren't using the 2.2 version of Euphoria becuase
in 2.2 it IS declared. If it is perhaps one of the
platform constants that are not declared (DOS32,
WIN32, Linux), then you need to include "misc.e"
according to:
http://rapideuphoria.com/lib_p_r.htm#platform
If I'm misunderstanding your problem, please provide
the exact error message or explain what happens in
detail. I hope this helps.

later,
Lewis Townsend
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

new topic     » goto parent     » topic index » view message » categorize

3. Re: Platform Identification Athlon 700

> Problem :
> Software doesn't seem do identify EX .exe  as  Dos32
> system
> EXW.exe  wok well in Win32
> Include file always report  Platform is not
> identified  (I'm with Dos32 )
>
> Exemple
>
> If Platform( ) = Linux then
>    Blablabla
> else
>    Blalblabla
> end if
>

I haven't been coding lately (built a computer, yay),
but if I'm remembering right, Platform() should be
platform() and you need to include some files to get
LINUX, WIN32 and DOS32 declared.

I doubt it is the CPU.  If what I've said doesn't
help, its probably an error in DOS.

Hope this helps.
Mike Hurley

=====
It compiled.  The first screen came up.  Ship it.
     --Bill Gates

__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

new topic     » goto parent     » topic index » view message » categorize

4. Re: Platform Identification Athlon 700

Yves Rondeau wrote:

> Software doesn't seem do identify EX .exe
> as Dos32 system EXW.exe [works] well in Win32
> Include file always report  Platform is not
> identified  (I'm with Dos32 )
>
> Example
>
> If Platform( ) = Linux then
>   Blablabla
> else
>   Blalblabla
> end if

The processor that you use shouldn't make a difference. I suspect that
Robert has hard-coded the routine, so that EX.EXW returns DOS32, EXW.EXE
returns WIN32, and EXU returns Linux.

Did you write 'Platform' or 'platform'? Perhaps your test needs all three
options:

   if platform() = Linux then
      -- blablabla
   elsif platform() = WIN32 then
      -- blahblabla
   elsif platfor() = DOS32 then
      -- blablabla
   else
      -- error
   end if

-- David Cuny

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu