Lahey Support
08-15-2003, 01:19 AM
> Dear All:=0D
>=0D
> I can not find the usage of 'result' in LF's manual,=0D
>=0D
> so I do not know if it is allowable to use it like this:=0D
>=0D
> function test(a,b,...) result(a1,b1,...)=0D
=0D
No. But have you considered returning an array or a structure?=0D
=0D
> or how to reach this by FORTRAN90?=0D
>=0D
> I wish to call a function and return MULTIPLE results like this:=0D
>=0D
> (a, b, c,...) =3D some_function(....)=0D
=0D
> point number, or character, etc=0D
>=0D
> Thank you=0D
>=0D
> by Cheng Cosine=0D
=0D
>=0D
> I can not find the usage of 'result' in LF's manual,=0D
>=0D
> so I do not know if it is allowable to use it like this:=0D
>=0D
> function test(a,b,...) result(a1,b1,...)=0D
=0D
No. But have you considered returning an array or a structure?=0D
=0D
> or how to reach this by FORTRAN90?=0D
>=0D
> I wish to call a function and return MULTIPLE results like this:=0D
>=0D
> (a, b, c,...) =3D some_function(....)=0D
=0D
> point number, or character, etc=0D
>=0D
> Thank you=0D
>=0D
> by Cheng Cosine=0D
=0D