TYPE overloading?
From: Thomas Lang (lang_at_itp.tugraz.at)
Date: 03/30/05
- Next message: Arjen Markus: "Re: TYPE overloading?"
- Previous message: glen herrmannsfeldt: "Re: Subroutine Arguments"
- Next in thread: Arjen Markus: "Re: TYPE overloading?"
- Reply: Arjen Markus: "Re: TYPE overloading?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 30 Mar 2005 12:33:02 +0200
hi all,
one and the same code can run with COMPLEX or REAL type - depending on
what type of simulation I need. So far, one can switch between these two
versions with the help of a sed-script which simply exchanges all
declarations.
What I want now, is to get rid of the sed-script and to simply change a
type definition in a module to switch from one type to the other.
Functions can be handled via interfaces (wrappers). In principle I guess
I could change all definitions to a new type but I would have to adapt
all assignments of variables too. Is there a way to avoid the '%' in
type definitions, or to overload an intrinsic type?
br,
Tom
- Next message: Arjen Markus: "Re: TYPE overloading?"
- Previous message: glen herrmannsfeldt: "Re: Subroutine Arguments"
- Next in thread: Arjen Markus: "Re: TYPE overloading?"
- Reply: Arjen Markus: "Re: TYPE overloading?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|