return type from function

Blitz3D Forums/Blitz3D Beginners Area/return type from function

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

i don't know what skybox function you mean, but i assumed that is the correct way to do it.

afaik, when you declare a local in a function, that function will be able to use that variable even if there is a global variable of the same name. if you don't specify a local then a global of the same name will override it. so you may end up with a bug in your code if you don't use locals in functions.