home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Garbo
/
Garbo.cdr
/
mac
/
source
/
piemnsrc.sit
/
StrToNum.c
< prev
Wrap
C/C++ Source or Header
|
1989-09-14
|
341b
|
16 lines
#include "HyperXCmd.h"
/* Convert a string of ASCII decimal digits to a signed long integer.
Negative sign is allowed.
*/
pascal long
StrToNum(paramPtr, str)
register XCmdBlockPtr paramPtr;
Str31 str;
{
paramPtr->inArgs[0] = (long)str;
paramPtr->request = xreqStrToNum;
(*paramPtr->entryPoint)();
return paramPtr->outArgs[0];
}