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/mix1f.for

13 lines
299 B
Fortran

* MIX1F.FOR - This FORTRAN function accepts three integer
* arguments and returns their maximum.
* Compile: wfc[386] mix1f.for
integer function tmax3( arga, argb, argc )
integer arga, argb, argc
tmax3 = arga
if ( argb .gt. tmax3 ) tmax3 = argb
if ( argc .gt. tmax3 ) tmax3 = argc
end