CapsAdmin

Untitled

Sep 20th, 2011
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.38 KB | None | 0 0
  1. -- pre
  2. ---START---
  3.     #define define_function(#func_name,#inline_string,#string,") function #func_name() return "this is a #inline_string" .. #string end
  4.  
  5.     define_function(MyFunc,hellodefine " .. " this is : ,"mmm",')
  6.  
  7.     print(MyFunc())
  8. ---END---
  9.  
  10.  
  11.  
  12.  
  13. -- post
  14. ---START---
  15.     function MyFunc() return 'this is a hellodefine ' .. ' this is : ' .. 'mmm' end
  16.  
  17.     print(MyFunc())
  18. ---END---
Advertisement
Add Comment
Please, Sign In to add comment