This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/WATCOM/samples/goodies/mix3f.for

14 lines
278 B
Plaintext
Raw Permalink Normal View History

* MIX3F.FOR - This FORTRAN program calls a function written
* in C that passes back a string.
*
* Compile/Link: wfl[386] mix3f mix3c.obj /fe=mix3
program mix3f
character*80 sendstr
character*80 cstring
cstring = sendstr()
print *, cstring(1:lentrim(cstring))
end