Is it possible to return an entire array within a function C++ style?
Something like this:-
Thanks :)
Something like this:-
Graphics 640,480 Global arse[3] arse[0] = 0 arse[1] = 0 arse[2] = 0 Function moo() Local moopface[3] moopface[0] = 2 moopface[1] = 67 moopface[2] = 4 Return moopface End Function arse = moo() Repeat Cls DrawText arse[0], 10,10 DrawText arse[1], 10,25 DrawText arse[2], 10,40 Flip FlushMem Until KeyDown(KEY_ESCAPE)
Thanks :)