To Euphoria Porters!
- Posted by Travis Beaty <tbeaty at mach3ww.com> Sep 30, 2002
- 427 views
Hello! I'm working on a project which needs to be designed so that it will run on all platforms to which Euphoria is ported. This will of course mean that the library will need to be aware of what system it is being run on. The logical way to do this is to use the platform() routine. Here is where the question and suggestion comes in. RDS has already created three constants for platform, possibly four for BSD (Rob?): DOS32, WIN32, and LINUX. I am hoping that any people out there creating ports will agree upon other values; ie, MAC_OS = 5, BEOS = 6, TAKE_A_WILD_GUESS = 7. If two people make their own ports for two different operating systems, and each port returns the value 5 for platform(), this will cause a great deal of angst and gnashing of teeth. If ye-who-port can't come to a gentleman's agreement on this, I foresee all heck breaking loose about five years from now. :( Travis Beaty, Mason City, Iowa. "Always remember that you are unique; just like everyone else."