|
|
|
|
|
by luckydude
1949 days ago
|
|
There is no null, only undef. It's not a value, there is no value that means undef. We implemented by stealing the high order bit from the reference counter that tcl uses for garbage collection. If it is set, the variable undefined, if it isn't, it's a normal variable. I thought that was clever given that tcl's reference counter was signed and it only uses positive values. So we made it unsigned and got the bit for free. |
|