lua-users home
lua-l archive

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


Hello,

    I was playing with Lua to create some automated test scripts, and 
I found out the following:

Lua 4.0  Copyright (C) 1994-2000 TeCGraf, PUC-Rio
> print("dario")
dario
> print(3)
3
> print = 3
> print(3)
error: attempt to call global `print' (a number value)
stack traceback:
   1:  main of string "print(3)" at line 1
>

    What do you say about that? ;-)

Dario