hellod

Hello D from GnuCOBOL

License:
use freely for any purpose

Date:
20150707

Tectonics:
cobc -c calld.cob
dmd -D hellod.d -unittest -main calld.o -L'-lcob'

int hellogc();
hellogc is declared with C calling conventions and defined in calld.cob

void hellod();
ubiquitous hello, and call to GnuCOBOL

int dadd(int aug);
Add 42 to a given augend

Returns:
the given integer increased by 42

Examples:
assert(dadd(0) == 42);
assert(dadd(42) == 84);



Page generated by Ddoc.