Difference between revisions of "User talk:Kronzky"

From Bohemia Interactive Community
Jump to navigation Jump to search
Line 1: Line 1:
==VBS2 data types==
We might need to add new data types, as for example [[listObjects_(VBS2)|listObjects]] does return editor objects, not normal [[Object]]s...
--[[User:Raedor|raedor]] 21:58, 22 February 2008 (CET)
:Ok - I've created a [[:Category:VBS2 Data Types|VBS2 Data Types Category]]. We should classify the new ones underneath that, so that there won't be any confusion. --[[User:Kronzky|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:
[[User:Planck|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 <b> Array (Position2D Format)</b> 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.
[[User:Planck|Planck]] 21:43, 25 September 2008 (CEST)

Revision as of 22:26, 26 September 2008