Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

console application skeleton syntax

0 views
Skip to first unread message

Dariush

unread,
Jul 24, 2009, 3:07:02 PM7/24/09
to
Hi there;
can we have such skeleton syntax for a console application:

uses

type

Const


Function

Var

Begin

end

begin

end

BRoberts

unread,
Jul 24, 2009, 6:15:49 PM7/24/09
to
"Dariush" <moban...@gmail.com> wrote in message
news:36dba86d-303c-40f2...@t13g2000yqt.googlegroups.com...

> Hi there;
> can we have such skeleton syntax for a console application:
>

You could have consulted the Object Pascal / Delphi Reference formal grammar
section for an answer. You could have simply tried to compile or syntax
check the desired skeleton for an answer.

According to the language grammar empty Type and Const clauses are not
allowed. Function does not describe a section and has a required declaration
which includes more than the reserved word Function.

Finally, a console application has the general syntax

Program <identification section> <declaration section> <compound
statement> .

0 new messages