Lahey Support
08-15-2003, 01:19 AM
Dear All:
I can not find the usage of 'result' in LF's manual,
so I do not know if it is allowable to use it like this:
function test(a,b,...) result(a1,b1,...)
...
end
or how to reach this by FORTRAN90?
I wish to call a function and return MULTIPLE results like this:
(a, b, c,...) = some_function(....)
A comerical software, MATLAB, allows this:
[a, b, c, ... ] = some_fun(...)
and a, b, c, ... can be of different data type like integer, float
point number, or character, etc
Thank you
by Cheng Cosine
Jan/15/1999 UT
__________________________________________________ ____
Get Your Private, Free Email at http://www.hotmail.com
I can not find the usage of 'result' in LF's manual,
so I do not know if it is allowable to use it like this:
function test(a,b,...) result(a1,b1,...)
...
end
or how to reach this by FORTRAN90?
I wish to call a function and return MULTIPLE results like this:
(a, b, c,...) = some_function(....)
A comerical software, MATLAB, allows this:
[a, b, c, ... ] = some_fun(...)
and a, b, c, ... can be of different data type like integer, float
point number, or character, etc
Thank you
by Cheng Cosine
Jan/15/1999 UT
__________________________________________________ ____
Get Your Private, Free Email at http://www.hotmail.com