Re: [Vala] Functions in Vala



2008/6/21 Кутейников Дмитрий <kuteynikov gmail com>:
Vala is a good language, but it pushes you to use object oriented
programming.
I would like to have a chance to define something like C procedures, without
any
classes. Is it possible?

Something like this is a perfectly valid Vala program:

using GLib;

int main(string[] args) {
    return 0;
}

-- 
Arnold Schwarzenegger  - "I have a love interest in every one of my
films - a gun."


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]