[comp.sys.mac.programmer] serial port XCMDs for FoxBASE?

miner@kanga.uucp (Stephen E. Miner) (07/12/89)

I recently received the upgrade to version 2.0 of FoxBASE which now
supports HyperCard XCMDs.  I called Fox with a couple of questions,
but they said that they won't be able to offer tech support on XCMDs
for a couple of weeks.  Thus, I turn to the net...

I was trying to use Apple's serial port XCMDs (version 2.5b1 by Harry
Chesley) with Fox but "configureSPort" was not working (and often
hanging the machine.)  I noticed that the example stack declares a
global variable named "SPortGlobals" which I assume is used by the
XCMDs.  My conjecture is that Fox cannot handle callbacks that try to
access this global because its name contains more than the 10
characters allowed by Fox for variable names.  I welcome other
possible explanations.

I was hoping that someone might know how to make these XCMDs work, or
perhaps offer some of their own.  Source code for Think LSC would be
even better.

I know that 4th Dimension has built-in support for the serial ports,
but I'm trying to convince my boss to use FoxBASE.  I hope my fellow
FoxBASE users can help me.

Thanks,
Steve Miner
miner@arisia.xerox.com