Page 1 of 1

Syntax style question

PostPosted: Sun Jul 23, 2017 11:16 am
by Rocko
I've noticed this syntax styling (within stage(0) of 'blue code'):

Code: Select all
x = 3e10 | 0.9999 | 1


What does this mean ? Any idea?

Re: Syntax style question

PostPosted: Sun Jul 23, 2017 11:44 am
by martinvicanek
| means bitwise or. The code line is a hack to assign a particular bitmask.