Program name: Difference between revisions

Content added Content deleted
Line 289: Line 289:
}</lang>
}</lang>


The D programming language offers an interpreted mode, which exhibits slightly a different behavior than the compiler.
The D programming language offers an interpreted mode, which exhibits slightly different behavior than the compiler.
<lang sh>$ ./scriptname.d
<lang sh>$ ./scriptname.d
Program: /tmp/.rdmd/Users/andrew/Desktop/src/scriptname/scriptname.d.D3B32385A31B968A3CF8CAF1E1426E5F
Program: /tmp/.rdmd/Users/andrew/Desktop/src/scriptname/scriptname.d.D3B32385A31B968A3CF8CAF1E1426E5F

$ dmd scriptname.d
$ dmd scriptname.d
$ ./scriptname
$ ./scriptname