[ library(ic_gap_sbds) | Reference Manual | Alphabetic Index ]

sbds_try(+Var, ++Value, ?Success)

Try assigning a value to an SBDS search variable
The variable to use
The value to try
Whether the assignment succeeded or not


Like sbds_try/2, but assign 1 to Success if we have set Var #= Value, and assign 0 if we have set Var #\= Value (effectively, Success reflects the truth of Var #= Value when the predicate succeeds).

See the documentation for sbds_try/2 for more details.

See Also

sbds_initialise / 5, sbds_try / 2