Re: load user defined module
- Posted by Derek Parnell <ddparnell at bigpond.com> Nov 07, 2002
- 393 views
To: Robert Craig Rob, how would you recommend that coders deal with this issue of platform-specific code, using the current incarnation of Euphoria? 8/11/2002 11:46:30 AM, stabmaster_ at hotmail.com wrote: > >Personally, I'd like to see something like this: > >ifplatform DOS32 >-- DOS-specific code and includes goes here >endif > >ifplatform LINUX >-- and so on... > > >ifplatform should be checked by Ex/Exw/Exu as a first pass, only reading >code for the given platform (since the current platform is known by the >interpreter at all times). > > > > --------- Cheers, Derek Parnell