On Tuesday, 27 August 2019 at 08:08:05 UTC, Anders S wrote:
Any ideas?
+ is not a string concatenation. Try ~ instead:
auto x = "aa" ~ "bb" ~ "cc";
On Tuesday, 27 August 2019 at 08:54:21 UTC, Anders S wrote:
Hi again, the auto declaration worked as I expected my
catenations should with the string
Great to hear that !
Strings are a bit "different" in D. Please help yourself and read
the following that IMO is the best introduction to the t
On Tuesday, 27 August 2019 at 16:32:08 UTC, H. S. Teoh wrote:
[..] you want to learn also a very high-level language that
makes you think on a whole different level: I recommend Haskell
or Lisp after you learn assembly language.
For Lisp, Clojure (https://clojure.org/) is a strong candidate:
On Sunday, 16 December 2018 at 22:02:44 UTC, bachmeier wrote:
I can recommend D Cookbook
https://www.packtpub.com/application-development/d-cookbook
and Learning D
https://www.packtpub.com/application-development/learning-d
Publish dates are 2014 and 2015. How much the language has
changed/e
On Thursday, 14 March 2019 at 19:39:53 UTC, Alec Stewart wrote:
For < and >, would one do this?
I think you'd benefit a lot by reading
http://ddili.org/ders/d.en/operator_overloading.html (just search
for opCmp). I bet that will eliminate most of your confusion !
What might be wrong with the following code below as it doesn't
clear the screen and print "(0, 0)" as expected:
import arsd.terminal;
void main() {
auto term = Terminal(ConsoleOutputType.cellular);
term.clear;
term.writefln("(%s, %s)", term.cursorX, term.cursorY);
}
If I change to the C
Other arsd.terminal related question. How to clear a line when it
is re-used ? The following code snipped is expected to print:
important text !
but instead it prints:
important text !gless mambo-jambo (33, 0)
import arsd.terminal;
void main() {
auto term = Terminal(ConsoleOutputType.linea
Thanks for the answers Adam - I can now proceed !
On Saturday, 13 July 2019 at 14:08:26 UTC, Jani Hur wrote:
Thanks for the answers Adam - I can now proceed !
I wrote two simple examples for D dummies (like me and myself) to
demonstrate arsd.terminal features I'm planning to use in my
"real" console "application". The examples are available