Syntax:
#option Float 1
This option enables float support in the user program.
This option ensures that all advanced variables are permitted in the user program.
Options:
There are four bitwise settings for the different tpye of advanced variables, as follows:
1 = singles 2 = doubles 4 = longint 8 = uLongINT
Example 1:
'Set chip model
#chip 16f877a
'Example command
#option Float 1 // Enable Single 1 = 1
dim myuserflag as single
myuserflag = 123.456Example 2:
'Set chip model
#chip 16f877a
'Example command
#option Float 3 // Enable Single and Double 1 + 2 = 3
dim myuserflag as single
myuserflag = 123.456For more help, see Variable Lifecycle

