[Gambas-user] Val()

Bruce adamnt42 at gmail.com
Thu May 27 09:12:20 CEST 2021


On 27/5/21 4:26 pm, Bruce Steers wrote:
> On Thu, 27 May 2021 at 07:55, Bruce Steers <bsteers4 at gmail.com> wrote:
> 
>>
>>
>> On Thu, 27 May 2021 at 07:40, CD <claude.dessere at orange.fr> wrote:
>>
>>> Hello,
>>>
>>> why Val("&FFFF") = -1
>>> and
>>> why Val("&FFFFFFFF") = -1
>>>
>>> is it normal?
>>>
>>>
>> I is when you do it wrong


or perhaps, maybe, could it possibly be just because one is a short and 
one is a long.  So their both -1
  ;-)


>> you must put & at begining and end...
>>
>> Try this...
>> Val("&FFFF&)
>>
>> oops  no quote..
> Val("&FFFF&")
> 
> BruceS
> 
> 




More information about the User mailing list