Wiki
Show
Ignore:
Timestamp:
03/20/10 08:18:40 (2 years ago)
Author:
Chuck.Esterbrook
Message:

Code cleanup.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cobra/trunk/Samples/forth.cobra

    r2019 r2339  
    6666     
    6767    cue init 
     68        base.init 
    6869        _stack = Stack<of Word>() 
    6970        _definitions = Dictionary<of Word, Definition>() 
     
    339340            assert w.isString 
    340341        body 
     342            base.init 
    341343            if interpret and int.tryParse(text, out _i) 
    342344                _which = WordType.Int 
     
    346348 
    347349    cue init(i as int) 
     350        base.init 
    348351        _i = i 
    349352        _which = WordType.Int 
     
    458461                if input 
    459462                    fm.processInput(input) 
    460                     if fm.didQuit 
    461                         break 
     463                    if fm.didQuit, break 
    462464                    print 'stack> ' stop 
    463465                    fm.printStack