Next: cpg-ref-SP_put_string, Previous: cpg-ref-SP_put_list_n_codes, Up: cpg-bif [Contents][Index]
SP_put_number_codes()
#include <sicstus/sicstus.h> int SP_put_number_codes(SP_term_ref term, char const *s);
Assigns to term
a reference to a Prolog number
obtained by parsing s
as if by number_codes/2
.
The SP_term_ref to be assigned
The string to parse
Zero if the conversion fails (as far as failure can be detected), and a nonzero value otherwise.