Skip to content

Commit

Permalink
Allow the SHORTINT to have the size of 2 bytes - fix MIN(SHORTINT) & …
Browse files Browse the repository at this point in the history
…MAX(SHORTINT) values to be correct.
  • Loading branch information
Oleg-N-Cher committed May 21, 2013
1 parent 29792fe commit b4c0780
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 0 deletions.
Binary file modified Ofront/Code/OPM.ocf
Binary file not shown.
Binary file modified Ofront/Mod/OPM.odc
Binary file not shown.
1 change: 1 addition & 0 deletions Ofront/Mod/Text/OPM.txt
Expand Up @@ -526,6 +526,7 @@ MODULE OfrontOPM; (* RC 6.3.89 / 28.6.89, J.Templ 10.7.89 / 8.5.95*)
MinReal := -MaxReal;
MinLReal := -MaxLReal;
IF IntSize = 4 THEN MinInt := MinLInt; MaxInt := MaxLInt END ;
IF SIntSize = 2 THEN MinSInt := -8000H; MaxSInt := 7FFFH END ;
MaxSet := SetSize * 8 - 1;
MaxIndex := MaxLInt
END GetProperties;
Expand Down

0 comments on commit b4c0780

Please sign in to comment.