www.quadsoftware.com
FAQ  FAQ   Search  Search   Memberlist  Memberlist   Usergroups  Usergroups
Register  ::  Log in Log in to check your private messages


Post new topic  Reply to topic
 property array syntax « View previous topic :: View next topic » 
Author Message
cmusch
PostPosted: Sat Dec 15, 2007 5:15 pm    Post subject: property array syntax Reply with quote



Joined: 02 Aug 2007
Posts: 33

Hello!

Could you be so kind and post the syntax for defining arrays in a property table? The in-app description unfortunately doesn't fit into the label area and is truncated.

regards
cm
Back to top
View user's profile Send private message
ALicu
PostPosted: Tue Dec 18, 2007 5:47 pm    Post subject: Reply with quote



Joined: 12 Feb 2007
Posts: 1326

Hi,

Actually there was an error that didn't let you specify an array. Now all is fixed (in the latest patch, 01.10.19). The syntax is:

No of elements|selected element|type of elements|elem1 ... elemN

Example:

3|1|double|1.2|3.1415|2.00

This creates an array of 3 doubles with the second one (index 1) selected by default.

As you will see, in the latest patch the dialog was modified so the syntax is properly viewed now. The SDK was also modified so you can now add and get array fields (there are other types actually added by the new SDK: double, short, ushort, char, uchar). See the SDK documentation for details.

Regards,
Adrian L.
Back to top
View user's profile Send private message
cmusch
PostPosted: Wed Dec 19, 2007 10:07 am    Post subject: Reply with quote



Joined: 02 Aug 2007
Posts: 33

Thanks a lot, works like a breeze.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Based on a template by Dustin Baccetti
Powered by phpBB © 2001, 2005 phpBB Group