Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!helios!inetg1!news From: wes@arco.com (Wesley Monroe) Newsgroups: comp.sys.mac.programmer Subject: str2dec conversion question Message-ID: <1991Mar19.195856.23222@Arco.COM> Date: 19 Mar 91 19:58:56 GMT Sender: news@Arco.COM Organization: ARCO Oil & Gas Co Lines: 18 I am trying to find documentation on a routine str2dec(). I am calling the routine from C (MPW C) to change a string to a decimal format before I call dec2num() to convert it to an extended... void str2dec(const char *s, short *x, decimal *dec, short *vp) What I can't figure out is what type of string str2dec wants, a Pascal string or a C string. Actually, by trying things out, it seems that it wants a null terminated C string, but could point me to some documentation, or enlighten me as to what this thing really wants??? Cheers, Wes P.S. I've looked in the Apple numerics manual, and i see nothing about str2dec().