KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Tokenization of "//" and "\\" in the method editor
PRODUCT: 4D | VERSION: | PLATFORM: Mac & Win
Published On: September 4, 2002

Compatibility: 6.7.x and 6.8.x



If you type the following line in the method editor:
a:= 4 // 7

and then let the method editor tokenize it, it then becomes:
a:=4>>7

Similarly, "a:=4\\7" would become "a:=a<<7"

The reason for that change is that the left bit shift (>>) and right shift bit (<<) operators used to be respectively "//" and "\\", therefore the tokenization takes that into account.