Howo can i create a constants table to Lua in PB ?

Just starting out? Need help? Post your questions and find answers here.
User avatar
skinkairewalker
Enthusiast
Enthusiast
Posts: 636
Joined: Fri Dec 04, 2015 9:26 pm

Howo can i create a constants table to Lua in PB ?

Post by skinkairewalker »

hi everyone !

someone know how can i add constants to LUA with PB ?

i would like do it >
#Lua code =

Code: Select all

 function printval()
   print("Pi value is = "..pi) -- how can i do it using lua on Purebasic ?
 end