Re: Bgt help topic reincarnation.
I'm not the best coder by anymeans, so, someone willing to provide an actual answer may think I suck and show me a million different ways to do it, but, you could, in theory do this.string text;void main(){text = magic_wand();alert("Sarrah has the " + text + ".");}string magic_wand(){string magic = "magic";string wand = "wand";return (magic + " " + wand);}Alternatively, to make it more fun,void main(){string item = magic_wand("Giant", "Banana");alert("Sarah has the " + item + ".");}string magic_wand(string a = "magic", b = "wand"){return (a + " " + b + "");}I haven't tested this, and I may be way wrong due to my inexperience, but hey. I tried .
URL: http://forum.audiogames.net/viewtopic.php?pid=271995#p271995
___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector