TweeZcodeCompiler / twee_zcode_compiler

compiler project at FU Berlin
MIT License
3 stars 0 forks source link

Function turns #88

Closed lhochstetter closed 9 years ago

lhochstetter commented 9 years ago

Compiles and runs, test file included

tobiasschuelke commented 9 years ago

Gargoyle and Frotz sometimes do not increase the turns value. I added a link back to start to your example but that does not work properly neither. Twee code:

::Start

<<print turns()>>

[[help]]

::help

<<print turns()>>

[[Start]]

And this is printed:

***** Start *****

1

1: help
***** help *****
2

***** Start *****

2

1: help

Here the last turns number should be 3

tobiasschuelke commented 9 years ago

now lgtm