Re: little question once again
- Posted by Craig Gilbert <bytebrain at MINDSPRING.COM> Sep 26, 1999
- 683 views
On 9/25/99 10:37:06 PM, Irv Mullins said: >On Sat, 25 Sep 1999, you wrote: >> > constants and variables are called VARIABLES >> >> Unfortunately, Bernie, if a constant is a variable then it's not constant >> anymore. And if a variable is a constant then it's not variable anymore. > >But, a constant IS variable. It can only be varied by the programmer prior to >the run (or the compile) >example: >constant pi = 3.0 -- that's wrong, but I can change it! > >Irv I'm not sure that is a valid line of reasoning in this context. After all, I can change *anything* in my program before run time; that doesn't mean I want to call every component of the program a variable. I've always assumed that the names we give to the pieces of a program get their meaning from the way they behave when the program is actually acting as a program, i.e. being executed. Otherwise they are just characters in a text file, anyway. Of course, I am just assuming that based on the way I've always treated those 'pieces'. Is that incorrect? Craig --------------------------------------------------------------- We used to think that if we knew one, we knew two, because one and one are two. We are finding that we must learn a great deal more about `and'. --Sir Arthur Eddington