Searching \ for '[OT]:: Anciem Regime' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/index.htm?key=anciem+regime
Search entire site for: ': Anciem Regime'.

Exact match. Not showing close matches.
PICList Thread
'[OT]:: Anciem Regime'
2010\07\05@074406 by RussellMc

face picon face
[OT]:: Anciem Regime <-- Trouble debugging using MPLAB

>> Do you remember ever changing the value of a constant?
>>
>> e.g.
>> http://everything2.com/title/Changing+the+value+of+5+in+FORTRAN

Not as I remember.
AFAIR FORTRAN IV was in use when I first used it.

FORTRAN  typing will also be a source of amusement to modern youth.
Variables beginning I...M were implicitly declared as constants
unless explicitly declared otherwise.
All other start letters made variables REAL unless explicitly declared
otherwise.

And more:

  http://www.obliquity.com/computer/fortran/datatype.html

The above reference states that constants cannot be altered. Which may
or may not be true for the variant he is talking about.

FWIW, Gargoyles spilling chucker doesn't know about the word FORTRAN
Hmm. Lets's see.
BASIC COBOL PASCAL ADA LISP MODULA  BCSP JAL  APL PLM
(Basic and lisp are unfair tests).
Names from Modula on are unknown.



                       Russell

2010\07\05@075227 by RussellMc

face picon face
FORTRAN pitfalls.
Includes variable-constant issues, and more.

                www.ibiblio.org/pub/languages/fortran/ch1-8.html

2010\07\05@102457 by Olin Lathrop

face picon face
RussellMc wrote:
> Variables beginning I...M were implicitly declared as constants
> unless explicitly declared otherwise.

No, they were implicitly integers.  I don't remember Fortran having symbolic
constants (but it could have, it's been a while).


********************************************************************
Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products
(978) 742-9014.  Gold level PIC consultants since 2000.

2010\07\05@112113 by Alan B Pearce

face picon face


> -----Original Message-----
> From: spam_OUTpiclist-bouncesTakeThisOuTspammit.edu [.....piclist-bouncesKILLspamspam@spam@mit.edu] On
Behalf Of Olin
> Lathrop
> Sent: 05 July 2010 15:25
> To: Microcontroller discussion list - Public.
> Subject: Re: [OT]:: Anciem Regime
>
> RussellMc wrote:
> > Variables beginning I...M were implicitly declared as constants
> > unless explicitly declared otherwise.
>
> No, they were implicitly integers.  I don't remember Fortran having
symbolic
> constants (but it could have, it's been a while).

And AIUI these defaults assumed have been implicated in spacecraft going
missing at critical moments, because someone changed from the default to
Real, and other users of the variable didn't notice/weren't
told/whatever.

The event that I recall may have been the other way, a default real
redeclared as an integer.

Assumed defaults can be real dangerous in critical applications.
--
Scanned by iCritical.

2010\07\05@113027 by Michael Watterson

face picon face
Olin Lathrop wrote:
> RussellMc wrote:
>  
>> Variables beginning I...M were implicitly declared as constants
>> unless explicitly declared otherwise.
>>    
>
> No, they were implicitly integers.  I don't remember Fortran having symbolic
> constants (but it could have, it's been a while).
>
>  
BASIC is after all originally a cut down version of ForTran, and MS's
original a ripoff of the Original Dartmouth College BASIC as a teaching
replacement for ForTran.

The clue is in the acronym.

I used ForTran, then Z80 assembler, then Pascal.
Then Forth, Modula-2, Occam,  8051 and 78C11  Assembler
Then C++ for a year before C. On a C contract I was accused  of  writing
Pascal.  Whatever I was  writing, it was  compiling and working fine
with the MS DOS C compiler.
By the time I encountered Basic, it was VB5/VB6 and I pretended it was
Modula-2 :-) But occasionally I find VB programs on Websites that would
not be out of place in ForTran, punched on cards and batch processed on
ICL's George.

I still see and sometimes convert to Modula-2, JAL, VB6 or C#, C
programs that are written in a ForTran Style with i j and k for all
loops that look like C versions of ForTran, except the C programmer has
tried to fit a half tray of cards into a single line of C under the
impression that Optimising C compilers don't exist, Memory for Source is
scarce and if no-one can read it, he will be kept on to maintain it.





More... (looser matching)
- Last day of these posts
- In 2010 , 2011 only
- Today
- New search...