select – Talk
mNo edit summary |
mNo edit summary |
||
Line 39: | Line 39: | ||
Using true instead of a number can be confusing for new people consulting the wiki command reference, it is exactly the same as saying select 1 | Using true instead of a number can be confusing for new people consulting the wiki command reference, it is exactly the same as saying select 1 | ||
If booleans should be used in an example I think it should be the second select command | |||
[[User:Planck|Planck]] 14:12, 7 October 2006 (CEST) | [[User:Planck|Planck]] 14:12, 7 October 2006 (CEST) |
Revision as of 13:15, 7 October 2006
How can we implement the new config select from ArmA here?
--Raedor 00:09, 3 July 2006 (CEST)
Thats a good point. Haven't gotten to the 's' yet but if you check out one of the other examples it should be easy to follow
Select Array Select Boolean Select Index
Maybe something like this.
hoz 00:14, 3 July 2006 (CEST)
Boolean index
What was wrong with [1,2,3,4] select true
? It's working.
I think Index should be Number or Boolean
. That's why I was added both examples, one with True, one with number.
++Str 08:04, 7 October 2006 (CEST)
The first select command in the comref has the syntax:
array select index
Where array is of type Array and index is of type Number.
The second select command in the comref has the same syntax but:
array is of type Array and index is of type Boolean.
There is also a third select command:
config select index
Where config is of type Config and index is of type Number.
Using true instead of a number can be confusing for new people consulting the wiki command reference, it is exactly the same as saying select 1 If booleans should be used in an example I think it should be the second select command
Planck 14:12, 7 October 2006 (CEST)