Thanks Lars, sounds cool. :-)
Lars T. Kyllingstad wrote:
Joel Christensen wrote:
How does it work?
I couldn't even see it. Not in the windows\bin directory or the dmd help.
It's built into the compiler. :)
test.d:
struct S
{
int fooBar;
}
void main()
{
S
Joel Christensen wrote:
How does it work?
I couldn't even see it. Not in the windows\bin directory or the dmd help.
It's built into the compiler. :)
test.d:
struct S
{
int fooBar;
}
void main()
{
S s;
s.fooBaz = 1;
}
Compilation:
dmd test.d
How does it work?
I couldn't even see it. Not in the windows\bin directory or the dmd help.