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.

Newcomers DBPro Corner / Assigning a value to array in a type array?

Author
Message
Mistrel
Retired Moderator
19
Years of Service
User Offline
Joined: 9th Nov 2005
Location:
Posted: 27th Oct 2006 02:58 Edited at: 27th Oct 2006 02:59
Using this code:



Why can I not do this: array(1)=3 ?

http://3dfolio.com
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 27th Oct 2006 03:05
once you assigned your array to the type i guess its not a standard array anymore.




in my snippet you will notice at the end I did not complete the arrays typed name and get un expected results.

Im using 5.9 not 6.2 yet

BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 27th Oct 2006 09:42
What would it assign the value to? a? b? a & b? A type isn't a variable, it's a wrapper for other variables.



Login to post a reply

Server time is: 2024-11-12 14:25:10
Your offset time is: 2024-11-12 14:25:10