Search found 609 matches

by jerome
Wed Oct 22, 2014 8:21 pm
Forum: eC Language
Topic: subclassing Container
Replies: 2
Views: 30198

Re: subclassing Container

Hi Paolo, class_fixed instruct the eC compiler to hardcode the data layout of the class and is mostly meant for the core eC library and for extra performance, and as such should not be required in user level code. Instanstiation of a class should always be initialized, and instantiation of a struct ...
by jerome
Tue Oct 21, 2014 8:18 pm
Forum: General Help
Topic: An enum in place of an int
Replies: 4
Views: 34806

Re: An enum in place of an int

Cool :)

Had you taken a look at my own attempt at a RD parser for eC?

https://github.com/ecere/ecere-sdk/tree ... ler/libec2

It is mostly working, just a few language features were missing. I just haven't had time to complete it and make it work together with everything else yet!

-Jerome
by jerome
Tue Oct 21, 2014 6:45 pm
Forum: General Help
Topic: An enum in place of an int
Replies: 4
Views: 34806

Re: An enum in place of an int

Hi Paolo, Enumerated values will not resolve unless you assign them to an int, they're only visible where their enumeration type is expected. That allows you to have the same enumerated values in different enums (e.g. 'none') If you really want to assign it to an int, you can do: type = DataType::t1...
by jerome
Fri Oct 10, 2014 11:33 am
Forum: Introductions
Topic: hi all
Replies: 10
Views: 94864

Re: hi all

Hi Paolo! Yes, this is an old known bug in the precompiler (ecp). http://ecere.org/mantis/view.php?id=360 With many duplicates... I haven't gotten around to fix it yet :( Re: the answer... I personally don't like brackets when there is just statement, and this bug has caught up on me many times... B...
by jerome
Mon Sep 01, 2014 1:38 pm
Forum: eC Language
Topic: accessing class methods
Replies: 5
Views: 38362

Re: accessing class methods

Hi Paolo,

Yes, that's correct.
Sorry I omitted those details!

-Jerome
by jerome
Sat Aug 30, 2014 12:17 pm
Forum: eC Language
Topic: accessing class methods
Replies: 5
Views: 38362

Re: accessing class methods

Hi Paolo, Yes you can. But for virtual methods, the Method information only exists in the class where the method is defined, not in the class where it is overridden. The only thing that the derived method specifies is the function pointer to which it was overridden. Hence why in your earlier example...
by jerome
Thu Aug 28, 2014 11:55 pm
Forum: eC Language
Topic: accessing class methods
Replies: 5
Views: 38362

Re: accessing class methods

Hi Paolo, When a base class defines a virtual method, all derived classes will only override that particular method (regardless of whether it is declared as 'virtual' or not in the derived class). So those virtual methods would only be listed in the base class. You can use c.base to access the base ...
by jerome
Thu Aug 21, 2014 5:24 pm
Forum: Introductions
Topic: hi all
Replies: 10
Views: 94864

Re: hi all

Launchpad isn't so complicated, but the best way to contribute a translation would be to fork the github repo ( https://github.com/ecere/ecere-sdk/fork ) into your GitHub account and then clone that fork and commit translation there :) This way your contribution shows up. Alternatively, you can emai...
by jerome
Thu Aug 21, 2014 12:55 pm
Forum: Introductions
Topic: hi all
Replies: 10
Views: 94864

Re: hi all

Hi Paolo!

Italian translation! awesome! :)

Are you doing it on Launchpad or locally in a tool? (e.g. PoEdit?)

-Jerome
by jerome
Mon Aug 18, 2014 9:24 pm
Forum: General Help
Topic: EDA (Sqlite3) in console app
Replies: 8
Views: 48717

Re: EDA (Sqlite3) in console app

Hi Sam, Again, terribly sorry that I missed those posts. Gmail had been classifying those forums notifications has spam lately :( If it takes more than a couple days for me to answer any question again, please e-mail me directly . One thing I note in your sample there is that your Query call is not ...