Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Not widely known problem in programming? (Developers)

posted by ecm Homepage E-mail, Düsseldorf, Germany, 29.03.2021, 22:26

> They are both correct. You simply cannot reference a local variable from a
> different local procedure and expect it to be reliable (sometimes it will
> work and other times it won't). You can only reference local variables
> from within the same procedure that declared them -- that's why they are
> called local.

The exception is of course if you pass local variable references from one function to another function, where the latter is currently being called from within the former.

---
l

 

Complete thread:

Back to the forum
Board view  Mix view
22752 Postings in 2119 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum