Tutorial Basic Jass Tutorial

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
yeah here's that path i blurred of and confuse of...=_=
and what's constant function?
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
888
> what's constant function?

That's a function that doesn't change and returns one value.
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
Well, all functions return a single value. And constant functions can change the value their returning; but one cannot non-constant functions from the body of the constant function.

...hmmm.

To put it simple, they are not really "constant" in the typical sense. I mean, for example, you can use the 'set' statement in them.


I hope I didn't make everything more blurry.



"constant " prefix is widely used for spells configuration options, because it makes things easier to read and edit plus, Vexorian optimizer inlines single-lined constant functions.


Anyway, did you understand what a return is, Gals?
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
yeah...barely understand...it is something like a conclusion from a function...

And what is and how to use
-Native
-Constant

?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top