05-12-2016, 05:56 PM
05-12-2016, 09:25 PM
Hi!, salvomic:
Syntax: GETBITS(#integer) Returns the number, of bits, used by integer, expressed, in the default base.
Example: GETBITS(#22122) returns #20h or 32.
Kind Regards.
informach.
Syntax: GETBITS(#integer) Returns the number, of bits, used by integer, expressed, in the default base.
Example: GETBITS(#22122) returns #20h or 32.
Kind Regards.
informach.
05-12-2016, 09:34 PM
thank you, I know it...
I mean: "why is the # mandatory?"
I mean: "why is the # mandatory?"
05-12-2016, 09:49 PM
Hi Salvo,
The syntax for this requires the integer base in order to determine the encoding. It uses the default base if not specified, but in any event, that means you would need to use the integer syntax (#number, o, d, h).
-Dale-
The syntax for this requires the integer base in order to determine the encoding. It uses the default base if not specified, but in any event, that means you would need to use the integer syntax (#number, o, d, h).
-Dale-
05-12-2016, 09:51 PM
(05-12-2016 09:49 PM)DrD Wrote: [ -> ]Hi Salvo,
The syntax for this requires the integer base in order to determine the encoding. It uses the default base if not specified, but in any event, that means you would need to use the integer syntax (#number, o, d, h).
-Dale-
thank you Dale,
now it is very clear for me.
Salvo