From Bohemia Interactive Community
Revision as of 12:52, 25 September 2008 by Planck (talk | contribs) (typo)
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:

And here also is the biki page on Array formats:

Planck 01:23, 25 September 2008 (CEST)