Re: Platform Identification Athlon 700
- Posted by "Cuny, David at DSS" <David.Cuny at DSS.CA.GOV> Oct 10, 2000
- 480 views
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