Skip to content

command-line arguments #1909

Answered by triska
mvolkmann asked this question in Q&A
Jul 24, 2023 · 6 comments · 18 replies

You must be logged in to vote

You can access them with argv/1 from the module '$toplevel'. Example:

$ scryer-prolog -- test
?- '$toplevel':argv(As).
   As = ["test"].

Replies: 6 comments 18 replies

You must be logged in to vote
0 replies
Answer selected by mvolkmann

You must be logged in to vote
0 replies

You must be logged in to vote
3 replies
@triska

@mvolkmann

@mthom

You must be logged in to vote
12 replies
@i-am-neo

@aarroyoc

@bakaq

@i-am-neo

@triska

You must be logged in to vote
2 replies
@pmoura

@aarroyoc

You must be logged in to vote
1 reply
@bakaq

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