Variable-length quantity: Difference between revisions

m
Line 879:
if isWholeNumString(theString) is false then -- I think there is built in equivalent for this but I rolled my own!
answer "Only Whole Decimal Numbers Are Allowed!"
exit mouseUpDecToVLQ
end if
if theString>4294967295 then
answer "This function fails with whole numbers over 4294967295!"&cr\
& "4294967295 is the maximum allowed value for 32bits (4 bytes)"
exit mouseUpDecToVLQ
end if
if theString>268435455 then
Line 1,030:
if isHexString(hexString) is false then
answer "Only Valid Hex Digits Are Allowed!"
exit mouseUpVLQHexToWholeNum
else
put "Original Variable Length Quantity in Hex="& hexString & cr & \