Ask Experts Questions for FREE Help !
Ask
    andyhaus1057's Avatar
    andyhaus1057 Posts: 98, Reputation: 1
    Junior Member
     
    #1

    Jul 12, 2009, 05:53 PM
    programming mods and variables
    Hi,
    I'm not sure about these. Can you please help?

    a) When a module is executing, what happens when the end of the module is reached?

    b) What statements are able to access a local variable?
    Perito's Avatar
    Perito Posts: 3,139, Reputation: 150
    Ultra Member
     
    #2

    Jul 12, 2009, 06:05 PM

    What language?

    a) Unfortunately, I don't know exactly how to answer this. It depends somewhat on the language. In some languages, a "module" is multiple subroutines, in others, it is just one subroutine. Generally, at the end of a subroutine, local variables that were created on the "stack" are destroyed. Values that are to be passed back are placed in locations where the calling subroutine will be able to retrieve them. The question is too general to answer exactly.

    b. This, again, depends on the programming language.

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

GTA san andreas car mods [ 3 Answers ]

This is a stuipid question but I got to know for sure. Does gta s.a. vehicle mods only work for the computer verson? ... | ... |oo ... o ... | ... o-:rolleyes:-o ... | ... o ... ooo


View more questions Search