root/trunk/src/tutorials/examples/ddoc/example1.d
| Revision 6, 234 bytes (checked in by jcc7, 3 years ago) |
|---|
| Line | |
|---|---|
| 1 | /++ |
| 2 | + Examples: |
| 3 | + --- |
| 4 | + import std.stdio; |
| 5 | + |
| 6 | + int main(char[][] args) |
| 7 | + { |
| 8 | + double miles, feet; |
| 9 | + miles = 5280 * feet; |
| 10 | + writefln("Some string"); |
| 11 | + return 0; |
| 12 | + } |
| 13 | + --- |
| 14 | +/ |
| 15 | |
| 16 | module example1; |
Note: See TracBrowser for help on using the browser.
