Enumerations

Post your requests and ideas on the future development of mikroPascal for AVR.
Post Reply
Author
Message
JeroenVandezande
Posts: 2
Joined: 03 May 2006 13:33

Enumerations

#1 Post by JeroenVandezande » 03 May 2006 13:38

Hi,

First I must say that my first tests of the Pascal compiler look very good.
What I do miss is enumerations...
I have a lot of pascal code (made in another AVR pascal compiler) that is using Enumerations and custom types:

example:

Unit Socket;

Interface

Type
TIPAddress = Array[0..3] Of Byte;
TMacAddress = Array[0..5] of Byte;
TDIRRegister = Record
Register : TIPAddress;
Offset : Array[1..20] Of Byte;
End;
TDIRArray = Array[0..3] Of TDIRRegister;
TDPRRegister = Record
Register : Word;
Offset : Array[1..22] Of Byte;
End;
TDPRArray = Array[0..3] Of TDPRRegister;
TStatusRegister = Array[0..3] Of Byte;
TSocketType = (stTCP, stUDP, stIPRAW, stMACRAW);

This does not work...
I would like to port this unit because it allows the use of the Wiznet Hardware TCP/IP controlers on atmel via the memorybus.


Best Regards,

Jeroen Vandezande.

User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

Re: Enumerations

#2 Post by zristic » 03 May 2006 14:29

We will work on it in near future.

JeroenVandezande
Posts: 2
Joined: 03 May 2006 13:33

Re: Enumerations

#3 Post by JeroenVandezande » 03 May 2006 15:30

zristic wrote:We will work on it in near future.
That is very good news!

Best Regards,

Jeroen Vandezande

Post Reply

Return to “mikroPascal for AVR Wish List”