Skip to content

Opinion on Syntax of a procedure #63

@waldo1001

Description

@waldo1001

The current syntax for a simple function is this

local procedure TestMessage2();
begin
    message('Published event Event is working!')                
end;

Why is there a semicolon after the procedure. this feels really bad while coding.
also, I'd rather have no "begin" and "end". lots of statements work with { }. something like this is makes more sense to me:

local procedure TestMessage2()
{
    message('Published event Event is working!')                
}

... just my opinion

Metadata

Metadata

Assignees

No one assigned

    Labels

    al-languagesuggestionThis is either a suggestion of a completely new feature or a fairly big change request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions