[Oberon] Printing an array

Martin Bishop martinbishop at bellsouth.net
Tue Oct 7 23:55:01 MEST 2008


Stefan Salewski wrote:
> Am Dienstag, den 07.10.2008, 15:05 -0500 schrieb Martin Bishop:
>> This is probably a silly question, but how can I create a function to
>> print an array?
> [...]
>> I get the error:
> 
> Depending on your compiler/system type of LEN(a) may be LONGINT.
> You may try VAR i: LONGINT; or SHORT(LEN(a)).
> 
> 
> --
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> https://lists.inf.ethz.ch/mailman/listinfo/oberon
> 

Yep, both solutions worked, although the weird thing is typically the
compiler doesn't complain.  And yes I use OO2C.

Thanks for the help!


More information about the Oberon mailing list