|
|
От: |
Mamut
|
http://dmitriid.com |
| Дата: | 28.10.04 14:48 | ||
| Оценка: | |||
MODULE MyHello;
IMPORT StdLog;
PROCEDURE Do*;
BEGIN
StdLog.String("Hello World!!"); StdLog.Ln;
END Do;
END MyHello.ObxHello0 is a minimal "hello world" program in Component Pascal...
Exported items in Component Pascal modules are marked by a trailing asterisk; there are no separate header files, definition modules, or the like.
using System;
class Class1
{
static void Main()
{
Console.WriteLine("Hello World");
}
}