home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Garbo
/
Garbo.cdr
/
mac
/
source
/
piemnsrc.sit
/
StrToLong.c
< prev
next >
Wrap
C/C++ Source or Header
|
1989-09-14
|
331b
|
15 lines
#include "HyperXCmd.h"
/* Convert a string of ASCII decimal digits to an unsigned long integer.
*/
pascal long
StrToLong(paramPtr, strPtr)
register XCmdBlockPtr paramPtr;
Str31 strPtr;
{
paramPtr->inArgs[0] = (long)strPtr;
paramPtr->request = xreqStrToLong;
(*paramPtr->entryPoint)();
return (long)paramPtr->outArgs[0];
}