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 / 'ref' for basic data types?

Author
Message
Ekkr
9
Years of Service
User Offline
Joined: 17th Apr 2015
Location:
Posted: 18th Apr 2015 00:14
Hello,

'ref' key-word only works with arrays and types (structs).

Why not with the basic data types (integer, float, string), too?
This would be extremely helpful.

Kind regards,
Ekkr
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 18th Apr 2015 01:47 Edited at: 18th Apr 2015 01:50
Quote: "error: Cannot pass basic data types by reference, only arrays and types support the ref keyword"


agree, thats nonsense.
i think its not implemented because lack of time.

workaround:


AGK 108 (B)19 + AppGameKit V2 Beta .. : Windows 8.1 Pro 64 Bit : AMD Radeon R7 265 : Mac mini OS X 10.10 (Yosemite)
Ekkr
9
Years of Service
User Offline
Joined: 17th Apr 2015
Location:
Posted: 18th Apr 2015 09:08
Yes, I had to do so

Thanx.

Login to post a reply

Server time is: 2024-11-25 20:52:51
Your offset time is: 2024-11-25 20:52:51