Subject: [SWIPL] convert atom or term to integer

From: Cecilia Wong <[email-masked]>
Date: Thu, 22 Mar 2001 18:58:50 +0800

Hi,

    Is there any predicate that can be used to convert atom or term into integer for calculation?
I have tried to use "int_to_atom(+Int, +Base, -Atom)" but it doesn't work if I only instantiated
the Atom part. Can anyone help? Thanks a lot!

Cecilia