Rapid Prototyping

version 1 by B David Paulsen

  • Home page
  • Beginning
  • Previous
  • Next



  • Book - Altering the World
    Part - Extending the buffer
    Include (-
    Array gg_event --> 4;
    Array gg_arguments buffer 28;
    Global gg_mainwin = 0;
    Global gg_statuswin = 0;
    Global gg_quotewin = 0;
    Global gg_scriptfref = 0;
    Global gg_scriptstr = 0;
    Global gg_savestr = 0;
    Global gg_commandstr = 0;
    Global gg_command_reading = 0;
    Global gg_foregroundchan = 0;
    Global gg_backgroundchan = 0;
    Constant GLK_NULL 0;
    ! The only thing we need to change here is the limits on buffer size.
    ! There's a weird relationship here between the three. Honestly,
    ! I just fudged the ratio.
    Constant INPUT_BUFFER_LEN = 1000;
    Constant MAX_BUFFER_WORDS = 200;
    Constant PARSE_BUFFER_LEN = 400;
    Array buffer buffer INPUT_BUFFER_LEN;
    Array buffer2 buffer INPUT_BUFFER_LEN;
    Array buffer3 buffer INPUT_BUFFER_LEN;
    Array parse --> PARSE_BUFFER_LEN;
    Array parse2 --> PARSE_BUFFER_LEN;
    -) instead of "Variables and Arrays" in "Glulx.i6t".