Inform - Support - Source

Back to List

Inventory
Complete

Backward
Forward

Plain
Coloured
Gaudy

This code
in plain text

Browsing verblibm.h

CommandsOnSub (lines 1172-1189)

1172  [ CommandsOnSub fref;
1173      if (gg_commandstr ~= 0) {
1174          if (gg_command_reading)
1175              L__M(##CommandsOn, 2);
1176          else
1177              L__M(##CommandsOn, 3);
1178          return;
1179      }
1180      ! fileref_create_by_prompt
1181      fref = glk($0062, $103, $01, 0);
1182      if (fref == 0) return L__M(##CommandsOn, 4);
1183      gg_command_reading = false;
1184      ! stream_open_file
1185      gg_commandstr = glk($0042, fref, $01, GG_COMMANDWSTR_ROCK);
1186      glk($0063, fref); ! fileref_destroy
1187      if (gg_commandstr == 0) return L__M(##CommandsOn, 4);
1188      L__M(##CommandsOn, 1);
1189  ];


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.