Re: Platform Identification Athlon 700

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

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 thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu