Let's not lose sight of the essence of the matter. Robert's source code fragment  crashes the compiler; apparently, a register allocation problem has been uncovered.
What should we do in these cases? Is someone maintaining the compiler?.
Regards,
René Dorta.
On Sun, Dec 18, 2011 at 4:34 AM, Robert <robert.campbell_{([at]})nowhere.xy
Hi
I can't compile the code below, which seems ok to me.
I don't get an error message, I get a compiler crash.
Am I overlooking something obvious?
Regards
Robert
MODULE  DemoMeter;
TYPE
 Meter  =  POINTER  TO  RECORD
             maxVal  :  INTEGER;
            END;
PROCEDURE  Do*;
 VAR
   pos, val  :  INTEGER;
   meter     :  Meter;
 BEGIN
    pos  :=  SHORT (val * LONG (100)  DIV  meter.maxVal)
 END  Do;
END  DemoMeter.
----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
Received on Tue Dec 20 2011 - 00:15:10 UTC