NetLogo / Arduino-Extension

Arduino Extension for NetLogo
2 stars 7 forks source link

`arduino:is-open?` is declared to return a number, but returns a boolean #1

Closed nicolaspayette closed 9 years ago

nicolaspayette commented 9 years ago

The IsOpen class extends DefaultReporter without overriding getSyntax, so the NetLogo compiler thinks that arduino:is-open? returns a number and the following doesn't compile:

if arduino:is-open?
nicolaspayette commented 9 years ago

@cbradyatinquire fixed this in cd55d625ecf538df963e072e27f9692eebbaee12.