Consult in Inform
24 Sep 1995 19:59:01 GMT
Can anybody help me with a simple example on how to use "consult" in Inform?
I can't seem to find any examples of how it is used in any of the documents
or any of the *.inf files I have studied. I have seen Rees' example* of an
improvment of "consult" and I found it interesting, but I just need a small
example and nothing so sophisticated. Just the need to look up a couple of
items in a book. I played around with "for loops" using the "consult_from"
in the equations and "if" tests but I have had no luck what so ever in the
tests looking at the consult word and testing it to print the proper response.
Thanks in advance for any help! <<<ART>>>
*Encyclopedia Frobozzica