Last active
December 27, 2015 02:19
-
-
Save Ke-/7250985 to your computer and use it in GitHub Desktop.
keycolumn_value
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| protect => {inline} | |
| define keycolumn_value() => { | |
| local(c = column(keycolumn_name)) | |
| void != #c? return #c | |
| local(curMap = inline_scopeGet) | |
| #curMap && #curMap->size > 0 ? #c = #curMap->find(::currentinline)->dsInfo->forcedRowID | |
| #c->isa(::integer) && #c < 0 ? #c = 2147483648 + (2147483648 + #c) | |
| #c ? return #c | |
| return void | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Buys you another 32-bits of integers until it breaks again.