(...) > Only problem here is that if an existing program is called with the home > dir on the stack - the program will not tidy up the stack correctly since > it does not know to remove the extra bytes.... (I think though could be > wrong here)
Well the first thing the prog would have to do would be to precess the string anyway, and copy it somewhere safe... > However, how would a program aware that the home dir might be higher up > the stack cope with this - for example, some programs MAY require an empty > string to be passed as the command string. Guess if there is a special > identifier word before the home dir string, this would overcome this > problem. Simple: word length of command string (may be 0 if no command string) command string word length of home dir (may be 0 if no home dir) (...) But really, putting this after the command string is a nono unless you solve the problem for compiled progs! Wolfgang _______________________________________________ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
