parses a string
INCLUDE 'iolib.h' parse(Str,Term,VarList)
string(Str) (i) string to be parsed
void(Term) (o) term that was the result of parsing
void(VarList) (o) Term containing the variables of the term.
Parses the string Str using the current operator declarations. Fails if no valid term is
encountered or it does not match Term. Any Variables contained in Term are listed with
their name in VarList in the following form:
parse("3+A",Term,[var(Name,Value)]), write(Name,"="), read(Value), Sum is Term, write(Sum),nl.
No runtime errors.
prolog-process, client-server, object
get , readln , readchar , readdevice