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

Yves Rondeau wrote:

<snip>
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
</snip>

Welcome to Euphoria, Yves!  Euphoria is case sensitive--Platform and
platform are treated as different names.  The correct usage in this case is

if platform() = LINUX then

The Euphoria interpreter stops at the first error and did not flag Linux for
that reason.  Also you must include the Euphoria standard include file
misc.e to make the constant LINUX available.

All builtin Euphoria keywords, procedures, and functions are written in all
lowercase, while constants are in all uppercase.  This is also true of the
standard include files.
Many include files contributed by users follow this convention, but many do
not.

-- Mike Nelson

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

Search



Quick Links

User menu

Not signed in.

Misc Menu