Oberon Community Platform Forum

Development => ETH Zonnon => Topic started by: Cjaster on January 06, 2011, 04:30:13 AM



Title: New to Zonnon.. Need help
Post by: Cjaster on January 06, 2011, 04:30:13 AM
I have been doing some small Zonnon codes(General Hello Worlds) and I want to move more into Zonnon
But I have problems with the compiler...   :(

I put a code like
Code: (Zonnon)
module a;

begin

end a.
But I always asks for "main".. So I change "a" to "main" and it works.. Why does it do that?

Also - When I put "System.Windows.Forms" in the import clause it says it cant find it..
I need some help here  ;D Thanks


Title: Re: New to Zonnon.. Need help
Post by: leledumbo on January 06, 2011, 07:09:58 AM
Quote
Why does it do that?
It expects a module where the program begins, and that module must be named main.
Quote
hen I put "System.Windows.Forms" in the import clause it says it cant find it..
Zonnon doesn't automatically add references to .NET libs. You can add that manually, the libs are located in .NET framework folder under Windows folder.


Title: Re: New to Zonnon.. Need help
Post by: Cjaster on January 06, 2011, 04:40:03 PM
Okay I have some .NET Questions..
I noticed recently that I have .NET 1.1 and 3.5 installed..
Do I need both?
Also..
Which folder in the .NET Framework folder should I copy?
Where I should I copy the files to?

C:\Windows\Microsoft.NET\FrameWork\ - Is the folder I'm in.
Should I copy the files in this Folder?
(Do you also post in the lazarus forums?)