Kronzky – User talk

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (cleared spam)
 
(17 intermediate revisions by 7 users not shown)
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 ther 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
[[User:Planck|Planck]] 01:23, 25 September 2008 (CEST)

Latest revision as of 04:32, 22 August 2012