Nice try ;-))).
Hmm, why have all apps to know, where they are? If the system let them
believe, they are in their root (if necessary), they should run. Simply look
at the TK3 sources, I'v sent to you years ago. There is a mechanism for
that:
With this, you can create a directory, say "nicegame" (the original files
weren't of course in any kind of directory)
Then put all the files down in this directory. Ok, we now have for example:
flp1_nicegame_boot
flp1_nicegame_badloader_mc
flp1_nicegame_badfiletocall
Then "ddown nicegame_", simply do a "run flp1_boot" and all works well. The
boot file will find everything and even a called MC finds another one in the
same directory.
This also runs under FS2. I have pulled Martin in that years, because I
wanted to put all my games in a sorted manner on disks (FS2 was years to
come...). It has taken a while to program, but it works very good.
Cheers...Ralf
----- Original Message -----
From: "Marcel Kilgus"
Norman Dunbar wrote:
Ok, to be really honest, I can think of one reason - someone will have
to write it as part of SMSQ.
Yes, that and that basically ALL applications would have to be updated
to make use of the new facilities. Difficult to pull off. One more
reason was the cry for staying QDOS compatible, which limits pretty
much what one can do.
Ok, a small problem raers it's ugly head - how to tell that main_c is a
single file and not a further directory 'main' with a file called 'c' in
it? Maybe we need a new file separator (equally, directory separator)
like we have to differentiate between the directory names and the file
extensions.
I have a déjà vu, the strange feeling that we had this discussion
before ;)
Cheers, Marcel
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm