The U.S. government this week launched its Arabic language satellite TV news station for mostly Muslim Iraq. It is being produced in a studio – Grace Digital Media – controlled by fundamentalist Christians who are rabidly pro-Israel. That's grace as in "by the grace of God."
Grace Digital Media is controlled by a fundamentalist Christian millionaire, Cheryl Reagan, who last year wrested control of Federal News Service, a transcription news service, from its former owner, Cortes Randell. Randell says he met Reagan at a prayer meeting, brought her in as an investor in Federal News Service, and then she forced him out of his own company.
Grace Digital Media and Federal News Service are housed in a downtown Washington, D.C. office building, along with Grace News Network. When you call the number for Grace News Network, you get a person answering "Grace Digital Media/Federal News Service." According to its web site, Grace News Network is "dedicated to transmitting the evidence of God's presence in the world today."
These secret identities serve a variety of purposes, and they help us to understand how variables work. In this lesson, we'll be writing a little less code than we've done in previous articles, but we'll be taking a detailed look at how variables live and work.
Posted by: Jucentius on January 18, 2004 07:20 PMThis code should compile and run just fine, and you should see no changes in how the program works. So why did we do all of that?
Posted by: Gillam on January 18, 2004 07:20 PMBut variables get one benefit people do not
Posted by: Charles on January 18, 2004 07:21 PMInside each stack frame is a slew of useful information. It tells the computer what code is currently executing, where to go next, where to go in the case a return statement is found, and a whole lot of other things that are incredible useful to the computer, but not very useful to you most of the time. One of the things that is useful to you is the part of the frame that keeps track of all the variables you're using. So the first place for a variable to live is on the Stack. This is a very nice place to live, in that all the creation and destruction of space is handled for you as Stack Frames are created and destroyed. You seldom have to worry about making space for the variables on the stack. The only problem is that the variables here only live as long as the stack frame does, which is to say the length of the function those variables are declared in. This is often a fine situation, but when you need to store information for longer than a single function, you are instantly out of luck.
Posted by: Phillip on January 18, 2004 07:22 PMWhen the machine compiles your code, however, it does a little bit of translation. At run time, the computer sees nothing but 1s and 0s, which is all the computer ever sees: a continuous string of binary numbers that it can interpret in various ways.
Posted by: Osmund on January 18, 2004 07:22 PM