PLUS+1 User Forum

PLUS+1 Software => General controls => Topic started by: LKs on March 02, 2017, 10:00:45 AM

Title: Binary representation of const value
Post by: LKs on March 02, 2017, 10:00:45 AM
Is it possible to write const value in binary representation?
For example:
Value 3600 (10) -> 3600
E10 (16) ->0xE10
111000010000 (2) -> ?

I try 0b111000010000 and 111000010000b but doesn't work.
I use of course constant multi-character in Plus+1.
Title: Re: Binary representation of const value
Post by: FluidPowerTom on March 02, 2017, 05:26:40 PM
I know that in Structured Text you can use 2#, so it'd be 2#111000010000.