User talk:Kronzky

From Bohemia Interactive Community
Revision as of 21:43, 25 September 2008 by Planck (talk | contribs)
Jump to navigation Jump to search

VBS2 data types

We might need to add new data types, as for example listObjects does return editor objects, not normal Objects... --raedor 21:58, 22 February 2008 (CET)

Ok - I've created a VBS2 Data Types Category. We should classify the new ones underneath that, so that there won't be any confusion. --Kronzky 22:14, 22 February 2008 (CET)

Yes we do need to have the Data type as Array for return value, this is the way BI wrote their original command reference with the type of data that was returned. If the type of data returned, presuming there was any,was an Array it was declared as an Array.

Array was listed as a Type in the Type list for data.

The Position formats, all of them were listed in the Array sub-article that was part of that command reference and listed the Position formats along with other Array formats: Color, ParticleArray, Position, Position2D, Waypoint.

It seems utterly ridiculous to have the return value defined as Position2D specifically as a data type when it is not, it is the specific format type of the data type Array.

As an aid to understanding here is the biki page on Data Types:

http://community.bistudio.com/wiki/Data_Types

And here also is the biki page on Array formats:

http://community.bistudio.com/wiki/Array


Planck 01:23, 25 September 2008 (CEST)

If all you are worried about is the Array format then I would have thought my original change Array (Position2D Format) would have made everything clear to both expert users and beginners alike. The Return value field is supposed to list the type of data returned, if any. The data returned in this case is an Array, albeit of Position2D format.

Planck 21:43, 25 September 2008 (CEST)