comp.lang.ada
 help / color / mirror / Atom feed
* Operating System differences and Ada OS independent programming
@ 2016-03-21 13:18 ldries46
  2016-03-21 15:07 ` gautier_niouzes
                   ` (2 more replies)
  0 siblings, 3 replies; 21+ messages in thread
From: ldries46 @ 2016-03-21 13:18 UTC (permalink / raw)


As Ada is a computer langauge that is by definition OS independent. The 
following question coup:

How to work with filename differences on different platforms, for instance 
creating a program that has to run on Linux and Windows both

For example a file can be in Windows on: ..\..\name  and on Linux on 
../../name
or in windows on C:\directory\* while in Linux on dev1/directory/*

Is there a general form which can be used or is there a routine which can be 
used to determine which operating the program is on. Maybe there is some 
kind of pragma defined which can be used the same way as in C/C++ compiler 
diectives.

L. Dries 

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2016-03-24 12:16 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-21 13:18 Operating System differences and Ada OS independent programming ldries46
2016-03-21 15:07 ` gautier_niouzes
2016-03-21 17:24 ` Dennis Lee Bieber
2016-03-21 22:04   ` Randy Brukardt
2016-03-22  8:43     ` Dmitry A. Kazakov
2016-03-22 11:15       ` G.B.
2016-03-22 13:40         ` Dmitry A. Kazakov
2016-03-22 14:36           ` Stefan.Lucks
2016-03-22 15:08           ` G.B.
2016-03-22 19:06             ` Dmitry A. Kazakov
2016-03-23  8:13         ` gautier_niouzes
2016-03-23  8:38           ` Dmitry A. Kazakov
2016-03-23 15:08             ` G.B.
2016-03-24  8:00               ` Dmitry A. Kazakov
2016-03-24 10:41                 ` G.B.
2016-03-24 10:42                   ` G.B.
2016-03-24 12:16                   ` Dmitry A. Kazakov
2016-03-24  3:36             ` Shark8
2016-03-24  7:58               ` Dmitry A. Kazakov
2016-03-24 11:42                 ` Dennis Lee Bieber
2016-03-24  1:19 ` rieachus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox