Ahhhh... Ones and els.
>>>>>
>>>>>#DEFINE TaxAmount _0lO1Ol
>>>>>#DEFINE InvoiceSubTotal _0lOlOl
>>>>>#DEFINE TaxPercentage _0lO1O1
>>
>>.
>>.
>>.
>>>This is
exactly my point. Look very closely at my 3 #DEFINEs, they are NOT the same, they're purposely chosen to look alike to a casual read. The whole idea is to obfuscate the code, make it hard to read, and it looks like it has worked perfectly!
>>
>>Underscore zero one oh one oh one
>>
>>It must be really good because I dodn't see how they ae different. What is it?
>Jay,
>
>there are several ways to see it
>-install a better font like Consolas - it will made it very easy to understand ()
>-use something like ASC(substr(...))
>-copy it to a file and show it in an hex editor.
>
>Anyway if you realy like code obfuscation:
>
>create a file:
>
>*File blabla.h
>#IFNDEF dnLoop THEN
>#DEFINE dcValue 'Hunting '
>#DEFINE dnLoop 1
>#ELSE
>#IF dnLoop=1
>#UNDEFINE dcValue
>#DEFINE dcValue 'Hi and Lo'
>#UNDEFINE dnLoop
>#DEFINE dnLoop 2
>#ELIF dnLoop=2
>#UNDEFINE dcValue
>#DEFINE dcValue 'Ha!'
>#UNDEFINE dnLoop
>#DEFINE dnLoop 3
>#ELIF dnLoop=3
>#UNDEFINE dcValue
>#DEFINE dcValue 'Ho!'
>#UNDEFINE dnLoop
>#DEFINE dnLoop 2
>#ENDIF
>
>and a prg
>
>*MyProg.prg
>#INCLUDE blabla.h
>?dcValue
>#INCLUDE blabla.h
>??dcValue
>#INCLUDE blabla.h
>?dcValue
>#INCLUDE blabla.h
>?dcValue
>#INCLUDE blabla.h
>?dcValue
>?'::)'
>
>
>
>Agnes