Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Fortran > Re: Type extens...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 9 of 9 Topic 8550 of 8908
Post > Topic >>

Re: Type extension and renamed parent type

by Ron Ford <ron@[EMAIL PROTECTED] > Jul 28, 2008 at 01:39 PM

On Mon, 28 Jul 2008 06:00:22 -0700 (PDT), paul.richard.thomas@[EMAIL PROTECTED]
> On Jul 28, 7:05 am, nos...@[EMAIL PROTECTED]
 (Richard Maine) wrote:
>> Ron Ford <r...@[EMAIL PROTECTED]
> wrote:
>>> I'm curious what motivates the question.
>>
>> From reading the OP's replies in the thread, it seems fairly evident to
>> me that a motivation of the question was to make the compiler comply
>> with the standard... which seems a good goal in my view.
>>
> 
> Indeed!  Last night, I submitted a patch to the gfortran list for
> derived type extension that complies with our interpretation of the
> standard.  Your confirmation of our understanding encouraged us to
> ignore the other products.
> 
> The implementation of derived type extension is the first step towards
> cl***** and OOP.

The usage of 'my' reminds strongly of perl, where it indicates lexical
scope.  Perl and ruby seem to have OO built in from the git-go.

# floats
my $x_calc = 5.3;
my $x_sought = 7.321928094887362;
my $base = .1;
my $term = -.00057;
my $penultimate = -.00057;

# ints
my $power = 1;

These declarations look doubly-funny here with the $ as well.  A C
compiler
is within its rights to spit that out forthwith.

-- 
Wealth - any income that is at least one hundred dollars more a year than
the income of one's wife's sister's husband. 6
H. L. Mencken
 




 9 Posts in Topic:
Type extension and renamed parent type
Tobias Burnus <burnus@  2008-07-24 10:50:56 
Re: Type extension and renamed parent type
Damian <damian@[EMAIL   2008-07-24 20:41:27 
Re: Type extension and renamed parent type
nospam@[EMAIL PROTECTED]   2008-07-24 22:32:33 
Re: Type extension and renamed parent type
paul.richard.thomas@[EMAI  2008-07-26 23:22:33 
Re: Type extension and renamed parent type
nospam@[EMAIL PROTECTED]   2008-07-26 23:44:32 
Re: Type extension and renamed parent type
Ron Ford <ron@[EMAIL P  2008-07-27 22:28:16 
Re: Type extension and renamed parent type
nospam@[EMAIL PROTECTED]   2008-07-27 22:05:17 
Re: Type extension and renamed parent type
paul.richard.thomas@[EMAI  2008-07-28 06:00:22 
Re: Type extension and renamed parent type
Ron Ford <ron@[EMAIL P  2008-07-28 13:39:05 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Nov 19 7:30:32 CST 2008.