Re: Call subroutine based on character variables? Guru Required!

From: Rich Townsend (rhdt_at_barREMOVEtol.udel.edu)
Date: 01/06/05


Date: Thu, 06 Jan 2005 09:36:05 -0500

bv wrote:
> Matt wrote:
>
>> CALL METHOD( ... )
>>
>>where "METHOD" is chosen at run-time (in the previous example, it would
>>take the values: "EXPL", "IMP1", IMP2", ...etc). Of course, this would
>>be *far* neater than using nested IF statements. Is this possible in
>>either fortran77 or g77?
>>If anyone has any other suggestions, I'd be delighted to hear them!
>
>
> Sure, at least two:
> #1
> Replace your compiler -> http://openwatcom.com

Typical bv response. What relevance does the choice of compiler have to
a coding issue? Furthermore, what if he isn't using Windows?

> #2
> Devise a sngl method which outperforms all of your candidates

Often, there's no such thing; different types of problems require
different approaches.

cheers,

Rich



Relevant Pages

  • Matt Hardy Responds To Eric Bischoff
    ... The following is a blog written by Matt Hardy in response to Eric ... than previous generations of wrestlers makes me sick. ... sacrificed to keep the business up and running so I could work in it ...
    (rec.sport.pro-wrestling)
  • Re: Israels self-fulfilling prophecy
    ... Matt is in this thread (and in his response to your post)? ... about your interlocutor's ideology and/or motivation in the discussion. ... This leads you to misinterpret what the other person says, ... Matt seems to be in that same mode now. ...
    (talk.origins)
  • Re: parsing Nero .nri file -- possible character set issues (perl newbie)
    ... >> Hello Matt, ... > Thanks for the response. ... reading the file using the sysread function, ... they are organized into fixed-length records of some ...
    (comp.lang.perl.misc)
  • Re: car radio/cd in bathroom 12 volt supply
    ... That way I won't waste my time constructing a response. ... You know Matt, I hate to say it, but you're starting to make me realize ... you're acting like a real jerk. ... Nyah nyah nah-nyah-nyah. ...
    (rec.audio.car)
  • RE: /dev/random on Linux
    ... I did not get any answer from Matt and was sure that it was of no interest. ... Zvi did contact Matt Mackall, the current /dev/random maintainer, ... So he's demanding that one person spend time responding to his ... received no response. ...
    (Linux-Kernel)