Guest User

Untitled

a guest
Jul 22nd, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. scope gem initializer onInit
  2.  
  3. private function ShowText(string msg, boolean caps=false)
  4. call BJDebugMsg(msg) if not caps
  5. call BJDebugMsg(StringCase(msg, true)) if caps
  6. endfunction
  7.  
  8. private function onInit()
  9. call ShowText("Hello World!") // Displays, Hello World!
  10. call ShowText("Hello World!", true) // Displays HELLO WORLD!
  11. endfunction
  12.  
  13. endscope
Add Comment
Please, Sign In to add comment