CompuServe Messages

Xpr Lib Programming

    12-Aug-91 23:14:06
Fm: Steve Ahlstrom 76703,2006
To: Kevin Ferlazzo 76137,3535
Kevin, Here's an example of a call back (you're on the right track) … long __saveds __asm xunlink(register __a0 char *filename) { int status = 0; status = remove(filename); if (!status) { return((long)status); } else { return(-1L); } } /* xunlink */ Most of the callbacks are straight forward but a couple will make you pull your hair out! (Took me until version 1.46 of Backtalk to get it all right, and I'm still not positive it's right). XPR is great but the spec leaves a lot to your imagination (and experimentation).