compuphase / pawn

Pawn is a quick and small scripting language that requires few resources.

Home Page:http://www.compuphase.com/pawn/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gtkcalc.p example has syntax errors

namazso opened this issue · comments

gtkcalc.p(8) : error 010: invalid function or declaration
gtkcalc.p(20) : error 001: expected token: "]", but found "char"
gtkcalc.p(26) : error 001: expected token: "]", but found "char"
gtkcalc.p(26) : error 017: undefined symbol "char"
gtkcalc.p(26) : error 029: invalid expression, assumed zero
gtkcalc.p(26) : fatal error 107: too many error messages on one line

i tried fixing it for a pr but couldnt quite figure it out

It turns out the gtkcalc example was never ported to the Pawn 4 syntax. Fixed in commit b83076b.