| 06-05-2008, 01:53 PM | #1 |
I went to compile my codes and noticed scope's name cannot have an underscore in it. Is there a way to bypass (force it to accept the name) this without manually typing each function name out? JASS:scope hello scope world_of_warcraft public function create takes nothing returns nothing endfunction endscope public function main takes nothing returns nothing endfunction endscope //what i want it to converts to function hello_world_of_warcraft_create takes nothing returns nothing endfunction function hello_main takes nothing returns nothing endfunction I don't want to be lame and do this: JASS:scope hello scope world scope of scope warcraft public function create takes nothing returns nothing endfunction endscope endscope endscope public function main takes nothing returns nothing endfunction endscope nor do i want to destroy my naming convention. So again, is there a vJass syntax that's similar to scope, but allow me to have a name with an underscore? |
| 06-05-2008, 02:23 PM | #2 |
Nevermind, i figured out how. |
