Skip to content

Instantly share code, notes, and snippets.

@Ke-
Last active December 27, 2015 02:19
Show Gist options
  • Select an option

  • Save Ke-/7250985 to your computer and use it in GitHub Desktop.

Select an option

Save Ke-/7250985 to your computer and use it in GitHub Desktop.
keycolumn_value
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
}
@Ke-

Ke- commented Oct 31, 2013

Copy link
Copy Markdown
Author

Buys you another 32-bits of integers until it breaks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment