Re: Odd functions in Halo Script.
Re: Odd functions in Halo Script.
Quote:
Originally Posted by
S3anyBoy
Same for dormant scripts, this is the case in almost(?) every scripting language, because they're usually sequential, you couldn't call on something that hasn't been defined yet.
ftfy
most modern (object-oriented) programming languages which are compiled do not care the order you define or call things
Re: Odd functions in Halo Script.
Quote:
Originally Posted by
Kornman00
I should note that I just c&p that text from a LISP reference (it was a leaked document so I never got around to culling the info that didn't apply here). Halo Script, while it uses a LISP-like grammar, it itself is not LISP nor does it use a LISP parser. Bungie programmed their own parser/compiler for HS.
So I can't use arrays? :smith:
I could do some BEAST scripts if I could use arrays.
Re: Odd functions in Halo Script.
Quote:
Originally Posted by
TheGhost
ftfy
most modern (object-oriented) programming languages which are compiled do not care the order you define or call things
To a point this is true. For example:
Code:
Messagebox.show(rawr)
Dim rawr as string = "hi"
That won't work. You are referencing a value before it's defined.