This project is read-only.

Zero value not printed if width specified

The write procedure doesn't print zero in fixed-point representation when widths are specified. That is, the following program segment prints a blank line instead of a line containing a 0: var z: ...

Id #6 | Release: None | Updated: Feb 10, 2015 at 8:00 PM by wschnyder | Created: Feb 10, 2015 at 7:59 PM by wschnyder

Constant expressions failing to compile

The compiler has issues when compiling small constant expressions (products): writeln(4 * 64) results in the compilation error "Overflow in constant expression. The result is too big" Note tha...

Id #5 | Release: None | Updated: Feb 7, 2015 at 8:49 PM by wschnyder | Created: Feb 7, 2015 at 8:49 PM by wschnyder

Set constructor fails at runtime

If S is declared as set and n is declared as integer (and assigned, say n := 1), then the assignment S := {0 .. n} will compile but crashes the program when executed. The workaround is to use S ...

Id #4 | Release: None | Updated: Aug 14, 2014 at 12:29 AM by wschnyder | Created: Aug 14, 2014 at 12:29 AM by wschnyder

Exponential and abs value fail to compile

writeln(abs(1)) causes the error message: Illegal type cardinal{7} of the argument for 'abs'; writeln(2**1) causes the error message: System error in EXPONENT.calculate function: illegal opera...

Id #3 | Release: None | Updated: Aug 9, 2014 at 6:11 AM by wschnyder | Created: Aug 9, 2014 at 6:09 AM by wschnyder

use of possibly unassigned variable 'sw' - enumeration type

This bug has to do with the enumeration type. Sometimes I get an error message at location (0,0) that states there is a use of a possibly unassigned variable 'sw'. This arouse in my lab sections ...

Id #2 | Release: None | Updated: Feb 18, 2014 at 4:56 PM by adfreed | Created: Feb 18, 2014 at 4:56 PM by adfreed

Sparse matrices fail at runtime

The following example compiles but does not run module Main; type sparse_matrix = array {sparse} , of integer; var a, b : sparse_matrix; i, j, s : array {math} 3 of integer; begin i := [1, 5...

Id #1 | Release: None | Updated: Fri at 4:27 PM by rmitin | Created: Apr 14, 2013 at 8:25 PM by rmitin

  • 1-6 of 6 Work Items
    • Previous
    • 1
    • Next
    • Showing
    • All
    • Work Items