mirror of
https://github.com/Adorable-Catgirl/LuaComp.git
synced 2024-11-17 07:28:05 +11:00
8 lines
197 B
Lua
8 lines
197 B
Lua
|
@[[function my_macro(a, b)]]
|
||
|
print("Hello, @[{a}]. Your lucky number is @[{b}].")
|
||
|
@[[end]]
|
||
|
|
||
|
@[[my_macro("world", 7)]]
|
||
|
@[[my_macro("user", 42)]]
|
||
|
@[[my_macro("Earth", 0)]]
|
||
|
@[[my_macro("Satna", 666)]]
|