Hallo Martin,

Du schriebst am Fri, 15 Nov 2013 16:24:04 +0100:

> Because code should always look the same I think ';' should become a
> mandatory statement terminator instead a separator as in Pascal.
> In order to be consequent ';' in procedure and function headers should be 
> replaced by ',' -> ',' = separator, ';' = terminator. Therfore using a
> single typename for several procedureparameters is not possible anymore.
> "
> procedure test(para: int32, parb: int8, parc: boolean);
> ...
> "
> or there must be a terminating ';' in procedure headers too
> "
> procedure test(para,parb: int32; parc: boolean;);
> ...
> "
> Opinions?

You should ask "Opinions.?" then. Or perhaps "Opinions?."
Because otherwise, it wouldn't become clear where your question is
terminated.

You see?

There might be _multiple_ allowed terminators to a syntax element, and the
allowed set might even be different in different places.
So, there's nothing wrong with using the set [";", "END"] for statements,
and [","; ")"] for parameter lists. Indeed, in Pascal, there's even the set
[";", "BEGIN"], used for declaration sections.

-- 
-- 
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
-----------------------------------------------------------
Mit freundlichen Grüßen, S. Schicktanz
-----------------------------------------------------------



------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to