1. Cross Platform compatability
posted by: stewart at isoclass.co.uk
What makes a eu program able to run on dos or linux?
Will all my dos programs work on linux?
thanks,
StewartML
2. Re: Cross Platform compatability
Guest wrote:
> posted by: stewart at isoclass.co.uk
>
> What makes a eu program able to run on dos or linux?
> Will all my dos programs work on linux?
Lots of programs will run on DOS or Linux
without any change. If you stick to text mode
output, possibly with colors and 2-d positioning,
you'll have little trouble getting most DOS programs
to run on Linux. If you use pixel graphics you'll have
to make significant changes. Many programs run on
either platform, but they might have a few places where
they need code like (for example):
if platform() = LINUX then
system("rm tempfile", 2)
else
system("del tempfile", 2)
end if
to handle some minor differences.
The ed.ex editor is like this. Maybe 99% of ed.ex
is the same for either platform,
but 1% uses platform() like above.
Regards,
Rob Craig
Rapid Deployment Software
http://www.RapidEuphoria.com