lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 2020-07-12 5:05 a.m., Long Z wrote:
> [...]
* I define " function mypow(x,y) return x^y end " but got an error " stdin:1: 'end' expected near '<\25>' ".
[...]
    * If you do "function mypow(x, y) return x ^ y end" and then call
    "mypow(2, 2)", what does it return?

This looks strange. If \25 is ASCII(0x25) then it's percent sign.

-- Martin