Inform - Support - Source

Back to List

Inventory
Complete

Backward
Forward

Plain
Coloured
Gaudy

This code
in plain text

Browsing verblibm.h

YesOrNo (lines 735-747)

0735  !   The handy YesOrNo routine, and some "meta" verbs
0736  ! ----------------------------------------------------------------------------
0737   
0738  [ YesOrNo i;
0739    for (::)
0740    {   if (location == nothing || parent(player) == nothing) read buffer parse;
0741        else read buffer parse DrawStatusLine;
0742        i=parse-->1;
0743        if (i==YES1__WD or YES2__WD or YES3__WD) rtrue;
0744        if (i==NO1__WD or NO2__WD or NO3__WD) rfalse;
0745        L__M(##Quit,1); print "> ";
0746    }
0747  ];


Last updated 27 February 2004. This site is no longer supported; information may be out of date.
Maintained as a historical archive by the Interactive Fiction Technology Foundation. Copyright 1993-2018 IFTF, CC-BY-SA unless otherwise noted.
This page was originally managed by Graham Nelson (graham@gnelson.demon.co.uk) assisted by C Knight.