18 Jul 2009 10:49
18 Jul 2009 16:28
Re: ecere-sdk_0.44d2.1.orig ecere.eCdoc file error
Hi there, Perhaps that ecere.eCdoc in there is a corrupt version... We're still working on the next release draft. In documentor, ecere.eCdoc is automatically loaded when loading ecere.dll/libecere.so. I attached the latest version to this email. Cheers, Jerome On Sat, Jul 18, 2009 at 3:49 AM, BB007<lq_98136@...> wrote: > > ecere version 0.44d2.1, ecere.eCdoc > when i opened ecere.eCdoc to use program ear.exe or documentor.exe > in the bin directory, the system displays error. > why not it can excecute? > i want to reader the help documentor as soon as possible. > lq > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "eC Programming Language" group. To post to this group, send email to ec-programming-language <at> googlegroups.com To unsubscribe from this group, send email to ec-programming-language+unsubscribe@... For more options, visit this group at http://groups.google.ca/group/ec-programming-language?hl=en(Continue reading)
28 Jul 2009 09:58
28 Jul 2009 16:57
Re: ecere-sdk_0.44d2.1.orig ecere.eCdoc file error
Hi Sam, We're still working on 0.44. The latest "working" version is at http://www.ecere.com/ecere-sdk-0.44d2.1.tar.gz This file is subject to change or disappear anytime. A d3 should be announced this week hopefully. Cheers, Jerome On Tue, Jul 28, 2009 at 2:58 AM, Sam Hu<SamHu.SamHu@...> wrote: > > Hi Jerome, > > Where can I download 0.44d2.1?By the way,In some topic why no *reply" > but only *reply to author*,strange.I send a wrong message to your > mailbox instead of here.Sorry! > > Regards, > Sam > > > >
29 Jul 2009 06:33
Re: ecere-sdk_0.44d2.1.orig ecere.eCdoc file error
Thanks Jerome.
q1: I tried to build 0,44d2 but lots of errors.I will look into it
later,just use 0.44d1 at this moment;
q2:why below code does not pass compiling:
class Dog/*struct also the same error*/
{
public:
int age;
float weight;
void sayHi()
{
printf("Hi from doggie :Age=%d and weight=%.2f\n",age,weight);
}
class App:Appllication
{
//Problem here:
Dog doggie{ 5,24.50}; // sytatic error!!??
//can only do like this:
Dog {5,24.50}; // So how can I define a couple of dogs?
}
Did I miss something?
Regards,
(Continue reading)
29 Jul 2009 06:36
Re: ecere-sdk_0.44d2.1.orig ecere.eCdoc file error
When you say you tried to build 0.44d2, you mean 0.44d2.1 ? You are missing a curly bracket } in this code you sent either for the function sayHi or for the Dog class. Cheers, Jerome On Tue, Jul 28, 2009 at 11:33 PM, Sam Hu<SamHu.SamHu@...> wrote: > > Thanks Jerome. > > q1: I tried to build 0,44d2 but lots of errors.I will look into it > later,just use 0.44d1 at this moment; > q2:why below code does not pass compiling: > > class Dog/*struct also the same error*/ > { > public: > int age; > float weight; > > void sayHi() > { > printf("Hi from doggie :Age=%d and weight=%.2f\n",age,weight); > > } >(Continue reading)
29 Jul 2009 08:06
Re: ecere-sdk_0.44d2.1.orig ecere.eCdoc file error
Hi Jerome,
Yes,I meant 0.44d2.1 ;
Full source:
struct InventoryItem
{
public:
int code;
float price;
public:
void Print()
{
printf("Code: %d,Price: %.2f\n",code,price);
}
} ;
class Dog
{
public:
char* name;
int age;
public:
void sayHi()
{
printf("%s is %d years old...\n",name,age);
(Continue reading)
29 Jul 2009 15:07
Re: ecere-sdk_0.44d2.1.orig ecere.eCdoc file error
Hi Sam,
In this case, you yave a declaration after statements, which is not
valid in eC just like in C89.
You would need to move the line
Dog dog{"dog",7}; //error: syntax error
before the
item.Print();
line. Anonymous instantiations (the ones that work) constitute a
statement, whereas named instantiations constitute a declaration,
which must be at the top of a compound block. You also have the option
of opening up a new compound block { }. The idea behind eC (and I
believe C89 as well) of not allowing declarations in the middle of
nowhere is to have them easy to spot at the top of a code block.
Cheers,
Jerome
On Wed, Jul 29, 2009 at 1:06 AM, Sam Hu<SamHu.SamHu@...> wrote:
>
> Hi Jerome,
>
> Yes,I meant 0.44d2.1 ;
(Continue reading)
RSS Feed