XForms: what function needed?

Martin Doll, Ph.D. (mkhd@into.ch)
Sat, 02 Jan 1999 09:42:06 +0100

# To subscribers of the xforms list from "Martin Doll, Ph.D." <mkhd@into.ch> :

Hi all and a happy new year!!!

Working with XForms I am still at the stage of debugging my actual program.
I would kindly like to ask a question concerning C (hope you don't mind):

If I want to check an input string for *not* containing characters like
quotes, pipes and other unix symbols, how should that be done? With
"norma" chars I can easily do that.

Trying something like *pointer != ''' (or only ') I get missing closing quotes.
Another idea was to check for a function that scans the string and
returns the ASCII numbers of the respective char the pointer currently
points to; but....what's the name of such a function. - I was looking at
atoi/strtol etc...

Maybe someone who can knock out my several hours consuming problem in a
split second with the right name/code fragment?

Thank you very much (won't ask to much pure C here, sorry again)

mkhd
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/