Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- scope gem initializer onInit
- private function ShowText(string msg, boolean caps=false)
- call BJDebugMsg(msg) if not caps
- call BJDebugMsg(StringCase(msg, true)) if caps
- endfunction
- private function onInit()
- call ShowText("Hello World!") // Displays, Hello World!
- call ShowText("Hello World!", true) // Displays HELLO WORLD!
- endfunction
- endscope
Add Comment
Please, Sign In to add comment