Great idea, Bryce! Here's an example setting some KiXforms constants. I would suggest that those who use this take Richard's suggestion to use underscores ("_") when defining constants to avoid clashing with KiXtart commands.

Code:

$nul = SetOption("NoVarsInStrings","On")
$nul = SetOption("Explicit","On")

Const(_None,0)
Const(_Top,1)
Const(_Bottom,2)
Const(_Left,4)
Const(_Right,8)
Const(_TopBottomLeft,7)
Const(_TopLeftRight,13)
Const(_BottomLeftRight,14)
Const(_All,15)

_None ?
_Top ?
_Bottom ?
_Left ?
_Right ?
_TopBottomLeft ?
_TopLeftRight ?
_BottomLeftRight ?
_All ?

_Left + _Right ?

Function Const($Constant,$Value)
Exit Execute('Function ' + $Constant + ' $' + $Constant + '=' + $Value + ' EndFunction')
EndFunction