AClass class1 = new AClass();
AClass class2 = new AClass();
if(class1 == class2)
writefln("==");
else
writefln("!=");
return 0;
}
--
Zhang
s
> Hey zhang,
>
> I see you can now run SciteD, but it still crashes of course. Does
> ScintillaD have more bugs to fix, or just SciteD, or even both?
It's so sorry. I hasn't debugged it out why it crashes.
And I'm busy with my company's works.
It will be a lon
; to import all the modules in the standard
package.
>
> It's of most benefit (IMO) for the Visual Studio IDE/GUI designer code.
> The automated code generation goes into one source file, in a partial
> class. The user defined code into another source file/partial class. It
> makes life easier for both the developer and the GUI designer code itself.
Maybe this is another thing. The "partial class" seems important for
auto-code-generation or function-extention.
--
Zhang
because you wouldn't be able to tell
> the difference between importing a package and a module. But perhaps
> that's the point. Otherwise I agree.
The compiler should do this. A package is a directory, and a module just a file.
When importing a package, the compiler will import all the modules in the
package.
The user doesn't care about this.
--
Zhang
>
> Here we have yet another example of some one who wants to use "import
> foo.*;".
Yeah, a module is just a file. So, the file name wildcards seem can be use for
module names.
--
Zhang
t -c
scintilla\Editor.d -ofobj\Debug\scintilla\Editor.obj
Internal error: e2ir.c 5007
Of course, there are many bugs hidding in the Editor.d. However, I need more
hints from the compiler to kill the bugs.
Thanks for any help.
--
Zhang
t
> * SHAMELESS PLUG WARNING *
>
> Until a compiler developer can look at this, you can use DustMite to help
> identify the cause of uninformative compiler error messages:
> https://github.com/CyberShadow/DustMite
It seems a interesting tool. Thanks for your information.
--
Zhang
l
> If you trust me, dropping the dmd.exe I emailed you in place of your
> existing one should give you a line number and file.
Thanks for your dmd.exe. You are so kind.
I got the error using it.
I have filed a bug at here http://d.puremagic.com/issues/show_bug.cgi?id=6317
--
Zhang
I tested std.array.replaceFirst with the code belown:
string s1 = "abc bcf";
string s2 = s1.replaceFirst("bc", "ee");
writefln("%s\n%s", s1, s2);
and got s2 is "aee". Should it be "aee bcf"?
Is it a bug, or just it is that?
Thanks.
--
Zhang
> On Sat, 30 Jul 2011 07:29:54 +0800, zhang wrote:
>
> > I tested std.array.replaceFirst with the code belown:
> >
> > string s1 = "abc bcf";
> >
> > string s2 = s1.replaceFirst("bc", "ee"); writefln("%s\n%s", s
.
--
Zhang
a lot of work for a single person to create something of
> the quality of Hibernate. An intermediate step may be appropriate, where
> all the automatic glue is still done by the programmer.
Have some guys started the first step works?
--
Zhang
> You mean to indicate the attribute doesn't have a value?
Yes, the field of a table can be null in DB.
------
Zhang
> Graham Fawcett wrote.
> > On Thu, 11 Aug 2011 20:10:15 +0800, zhang wrote:
> >
> >>> > I think D needs user defined attributes first.
> >>
> >> About attribute, here is an example:
> >>
> >>
> >>
> >>
problems when doing porting from C++ to D.
My solution is to use class instead of struct. Then I can create the aclass
object in this() when I new an AStruct.
Any suggestion?
Thanks.
--
Zhang
to use the properties
of D programming language.
Project url: https://bitbucket.org/heromyth/scintillad
Current status: Not runnable, but compilable and debuggable.
--
Zhang
line:
EnableAMenuItem(IDM_SAVE, CurrentBuffer().isDirty);
in void CheckMenus() in class SciTEBase in scite.SciTEBase;
--
Zhang
> "zhang" wrote in message
> news:mailman.2638.1314964940.14074.digitalmar...@puremagic.com...
> > ScintillaD is a D port of Scintilla which is implemented in C++.
> >
> >
> > Project url: https://bitbucket.org/heromyth/scintillad
> > Current statu
> Zhang:
>
> > Project url: https://bitbucket.org/heromyth/scintillad
> > Current status: Not runnable, but compilable and debuggable.
>
> Have you found something in D/Phobos that has caused you troubles? After your
> experience do you desire something in D/Phobo
19 matches
Mail list logo