Re: Template mixin Instantiation

2016-05-25 Thread Jorge Lima via Digitalmars-d-learn
Hi Adam, Thanks for your explanation. On Wednesday, 25 May 2016 at 12:15:17 UTC, Adam D. Ruppe wrote: On Wednesday, 25 May 2016 at 07:45:32 UTC, Jorge Lima wrote: I can understand that array1 is not expanded to its value representation in the first call, but why is then when passed

Template mixin Instantiation

2016-05-25 Thread Jorge Lima via Digitalmars-d-learn
something obvious? Thanks, Jorge

Re: writeln() assertion failed in hybrid x64

2014-09-04 Thread Jorge A. S. via Digitalmars-d-learn
I'm having an error related to yours: when I call writeln function in a closed stdout I will get a segfault message. Example: import std.stdio; void main() { stdout.close(); write(hello\n); } The code above will crash with segfault buf the following code will raise an exception instead:

Absolute beginner

2012-01-13 Thread Jorge
My first question si very silly: string str = readln() my input is for example 123 how can i convert this to an integer? Thanks.

Re: Absolute beginner

2012-01-13 Thread Jorge
Ok, it works fine. Thx to you all ;-) and sorry for my noob question.