Re: win98 & ver. 4.0
- Posted by jeremy (admin) Aug 14, 2008
- 1092 views
.ex = console program (dos, windows or unix), .exd = dos only program, .exw = windowed program (windows or linux).
Jeremy
I assume then .exu is any unix-only program.
If .exw is any windowed program, then what is an M$-Windows only extension? Most .exw's right now require windows (using win32api or windows .dlls).
I would do totally away with "only" extensions. Euphoria is the only language I know that does this, yet, hundreds of other languages are cross platform as well. For instance, with a ruby app, you have .rb. Nothing more. That .rb file may be cross platform, may be windows only, may be unix only. Python is .py, C is .c, Icon is .icn, Lisp is .lsp, Scheme is .scm, Java is .java, etc... The only real reason we need anything more than .e and .ex is because on Windows we have multiple interpreters We should get in the habit of doing things such as a Windows only program:
-- myapp.exw ifdef !WIN32 then include std/error.e crash("myapp runs only on Windows") end ifdef -- Code for myapp
Jeremy