how does a function function?
Posted: Tue May 27, 2008 7:38 pm
I'm trying out a bunch of programming languages right now including Qbasic, DarkBasic, JustBasic, C++, JavaScript, and Flash, but I still use GE for my games because, well, it's easy (and fun) to use.
anyway, to the point. I like functions, they help. A lot. In GE, first I want to know, can you actually use functions. If so, can someone tell me how to create one (what commands, cuz I tried the obvious (function)) in global code, then call it from an event from one of the actors (again, what command do I use, I think it has something to do with call, or goto). Score +1 if you can tell me
anyway, to the point. I like functions, they help. A lot. In GE, first I want to know, can you actually use functions. If so, can someone tell me how to create one (what commands, cuz I tried the obvious (function)) in global code, then call it from an event from one of the actors (again, what command do I use, I think it has something to do with call, or goto). Score +1 if you can tell me