Skip to content

create variable from string #1954

Answered by pmoura
mvolkmann asked this question in Q&A
Aug 7, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote
$ scryer-prolog
?- use_module(library(charsio)).
   true.
?- read_from_chars("X.", Term), var(Term).
   true.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mvolkmann
Comment options

Answer selected by mvolkmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants