diff --git a/Lua/boilerplate.lua b/Lua/boilerplate.lua index bff3e99..70995e7 100755 --- a/Lua/boilerplate.lua +++ b/Lua/boilerplate.lua @@ -108,6 +108,9 @@ end function hex(i) -- convenience function for use in console + if i > 0xFFFFFFFF then + print('warning: truncated') + end printf("%08X", i) end