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.

AppGameKit Classic Chat / Question about arrays and functions

Author
Message
sovr
14
Years of Service
User Offline
Joined: 2nd Jan 2010
Location: USA
Posted: 27th Sep 2014 06:32
Can anyone show me how to use an array as an argument of a function in AppGameKit 2.0? Thank you in advance!

website: http://worksimpleintelligen.wix.com/parkers-apps
facebook: https://www.facebook.com/ParkersApps
youtube: http://www.youtube.com/user/mrsovr
Naphier
13
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 27th Sep 2014 10:19
Took a bit to find, but here it is:




You can find the info in the offline documentation under the "Guides" section.

Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 27th Sep 2014 10:31
and we have a new ref keyword
/IDE/Help/guides/12_array_changes.htm


AGK 108 (B)19 + AppGameKit V2 Alpha .. : Windows 8.1 Pro 64 Bit : AMD Radeon R7 265
Naphier
13
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 27th Sep 2014 10:32
Ah, that's what that was about... jet lagged and sleep depraved does not make a good reader

Does that ref keyword work on all variables?

Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 27th Sep 2014 12:13 Edited at: 27th Sep 2014 12:13
Quote: "Does that ref keyword work on all variables?"

it should.

AGK 108 (B)19 + AppGameKit V2 Alpha .. : Windows 8.1 Pro 64 Bit : AMD Radeon R7 265

Login to post a reply

Server time is: 2024-04-26 20:56:23
Your offset time is: 2024-04-26 20:56:23