| 03-18-2008, 02:30 AM | #1 |
I've recently made a transition to Jass but there is little I understand. What I need is a little help understanding certain concepts and such that I haven't really found out about from any tutorial. 1. What is a Scope? And how do I use them/ what is the proper syntax? 2. What is a library? 3. What is the difference between a private and a public function? When are the necessary? Couldn't I just use function? 4. What does it mean to use vJass? The way I understood it is using JassNewGen Map editor... 5. Where did everyone go to learn about these and other complex concepts? As well as where can I go to learn these things? I probably have a few less important questions but I don't remember them. Having these things answered will make everything much easier, so thank you for just reading this, and thank you again if you can help me out. |
| 03-18-2008, 02:58 AM | #2 | |||||
All of your questions can be answered by reading the vjass tutorial thingy in the JassNewGenPack folder that you get when you unzip it in this folder: Code:
\JassNewGen\jasshelper Quote:
Scope Sample:scope Rawr public function MyFunct takes nothing returns nothing call DoNothing() endfunction endscope Quote:
Library Sample:library MyLibrary //Stuff endlibrary Extended Library Sample:library Random initializer RandomInit needs SomeOtherLibrary, Chicken, Hax //Stuff endlibrary Quote:
Quote:
Quote:
|
| 03-18-2008, 03:07 AM | #3 |
|
| 03-18-2008, 03:22 AM | #4 |
Thank you both. You both answered all my question perfectly to what I needed, and I have already begun reading the manual. I wish it was a bit easier to find though, except that I didn't really think there was a manual! Anyways I found it now and I will make myself as knowledgeable as possible with this new info, thank you! |
