Talk:Declared Constants

From RAD Studio
Jump to: navigation, search

ShortInt should be in bold; ranges overlap

In the "Types for integer constants" table, ShortInt should be in bold to match the other types. Also, the ranges overlap. I would guess that the compiler picks the first type whose range includes the constantExpression, but this isn't stated. In other words, const X = 0 makes X a byte. Davidmarcus 11:11, 21 December 2011 (PST)