module renaming by declaration

2016-03-19 Thread Christof Schardt via Digitalmars-d-learn
The module declaration allows to define a module name different from the filename. (TDPL sec. 11.1.8) I tried a simple example: File test.d: - import bbb; - File aaa.d (same directory): - module bbb; - Running rdmd test.d does give an error: "module bbb is i

Re: how can I get a reference of array?

2015-02-05 Thread Christof Schardt via Digitalmars-d-learn
"Ali Çehreli" schrieb im Newsbeitrag news:mav4a1$l3a$1...@digitalmars.com... On 02/04/2015 10:42 PM, zhmt wrote: The following article is very informative: http://dlang.org/d-array-article.html Nice and important article. But: How could I have looked this up this myself? What should be t