Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / return arrays from functions?

Author
Message
Captain N
21
Years of Service
User Offline
Joined: 18th Apr 2003
Location:
Posted: 18th Apr 2003 21:56
Is there any way to return an array from a function?
Danmatsuma
21
Years of Service
User Offline
Joined: 2nd Mar 2003
Location: Australia
Posted: 18th Apr 2003 22:12
dimension the array at the start of your code then just change it within your function, it's accessible globally this way

ZX Spectrum 48k Issue 3, Radio shack Tape drive, Rank arena 12" T.V. set.

Login to post a reply

Server time is: 2024-04-19 21:48:10
Your offset time is: 2024-04-19 21:48:10