HOME_DIR in Assembly

Anything QL Software or Programming Related.
Post Reply
User avatar
tofro
Font of All Knowledge
Posts: 2685
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

HOME_DIR in Assembly

Post by tofro »

(No question here, just a rant ;) )

Just spent 2 of the precious Sunday morning hours on debugging a program that tries to find its HOME_DIR. Was chasing my own tail when I stepped through numerous times with the debugger to find out why it will always receive "NOT FOUND" when retrieving its home directory.

The home directory isn't set when you start a job from the QMON, because, well of course it isn't ;)

EX and QPTR Files will set it, but QMON of course won't.


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
Post Reply