Next: , Previous: , Up: cpg-bif   [Contents][Index]


12.3.74 SP_put_integer()

Synopsis

#include <sicstus/sicstus.h>

int
SP_put_integer(SP_term_ref term,
               SP_integer i);

Assigns to term a reference to an integer.

Arguments

term

The SP_term_ref to be assigned

i

The integer

Return Value

Zero if the conversion fails (as far as failure can be detected), and a nonzero value otherwise.

See Also

Creating Prolog Terms.


Send feedback on this subject.