P poppy2008 New Member Mar 4, 2009 #1 Dear all,sorry for this stupid question Can I write if(vin> 0xFA ) instead of if(vin>250)
be80be Well-Known Member Mar 4, 2009 #2 sure but you may need to tell it it's a hex but seeing I don't no what your using C or basic or assembly and endc so it maybe like this (vin> $FA) binary (vin>%11111010) that swordfish basic I'm sure c Is some what the same
sure but you may need to tell it it's a hex but seeing I don't no what your using C or basic or assembly and endc so it maybe like this (vin> $FA) binary (vin>%11111010) that swordfish basic I'm sure c Is some what the same
Torben Well-Known Member Mar 4, 2009 #3 poppy2008 said: Dear all,sorry for this stupid question Can I write if(vin> 0xFA ) instead of if(vin>250) Click to expand... If you're using C or another language which uses the 0x prefix to indicate a hexadecimal number, then yes. Torben Last edited: Mar 4, 2009
poppy2008 said: Dear all,sorry for this stupid question Can I write if(vin> 0xFA ) instead of if(vin>250) Click to expand... If you're using C or another language which uses the 0x prefix to indicate a hexadecimal number, then yes. Torben