(09-06-2018, 01:13 AM)Madammar Wrote: is array of short should be replaced with smallint ?
Yes, Delphi's Smallint type is the same as Java's Short type. Note that there is a Short type defined in Delphi's Windows unit, which is an alias for Smallint. And modern versions of Delphi also have an Int16 type in the System unit, which is an alias for Smallint, too.