[Gambas-user] What does the "?" for a datatype?
Rolf-Werner Eilert
eilert-sprachen at ...221...
Tue May 5 11:35:28 CEST 2009
Stefano Palmeri schrieb:
> Il martedì 5 maggio 2009 10:36:29 Rolf-Werner Eilert ha scritto:
>> Hi folks,
>>
>> just stumbled over this: When typing AS Integer or AS Boolean, the IDE
>> gives me several completions to choose from:
>>
>> Integer
>> Integer?
>> Integer[]
>>
>> or
>>
>> Boolean
>> Boolean?
>> Boolean[]
>>
>> What is the questionmark variation good for?
>>
>> Rolf
>>
>
> Integer? is the same as IsInteger
> Boolean? is the same as IsBoolean
>
> See datatype functions in Gambas online help (or local).
>
> http://www.gambasdoc.org/help/cat/type?v3
>
> Stefano
>
>
Aaah - it's a function! Very interesting :-) Thanks for that!
Rolf
More information about the User
mailing list