Inform - Support - Source

Back to List

Inventory
Complete

Backward
Forward

Plain
Coloured
Gaudy

This code
in plain text

Browsing verblibm.h

CommandsReadSub (lines 1200-1217)

1200  [ CommandsReadSub fref;
1201      if (gg_commandstr ~= 0) {
1202          if (gg_command_reading)
1203              L__M(##CommandsRead, 2);
1204          else
1205              L__M(##CommandsRead, 3);
1206          return;
1207      }
1208      ! fileref_create_by_prompt
1209      fref = glk($0062, $103, $02, 0);
1210      if (fref == 0) return L__M(##CommandsRead, 4);
1211      gg_command_reading = true;
1212      ! stream_open_file
1213      gg_commandstr = glk($0042, fref, $02, GG_COMMANDRSTR_ROCK);
1214      glk($0063, fref); ! fileref_destroy
1215      if (gg_commandstr == 0) return L__M(##CommandsRead, 4);
1216      return L__M(##CommandsRead, 1);
1217  ];


Last updated 27 February 2004. The librarian in charge of this page is Graham Nelson (graham@gnelson.demon.co.uk) assisted by C Knight. Please email any comments, suggestions or corrections to cedenqs@inform-fiction.org.