Note that there are some explanatory texts on larger screens.

plurals
  1. POPascal: Internal variables in DLL
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. CO-1. This question is nonsense. All of the `Blah` noise, the lack of proper structure (no `interface` or `implementation` sections, for instance, no `export` entries, and no final `end.`, and a question that makes no sense (you can easily do what you're suggesting you can't with an actual library unit without passing any parameters and without the user tracking anything). If you can't be bothered to write an actual question and put some effort into it, please don't ask people here to waste their time reading it.
      singulars
    2. CO@kenwhite while the blah nonsense is kind of disorienting, you could probably edit the question yourself to have better names. As for the lack of proper structure, the actual code itself is a very simple and distilled form of the problem. Obviously, I'm not going to put some actual DLL source. I think the problem is conveyed clearly enough despite the blah variable names. Also, my iPad accidentally pushed the save button too early.. Please excuse the broken comment that might show up in your inbox.
      singulars
    3. COSorry. It's not my job to figure out how to name your variables; nor is it my job to convert the nonsense into compilable code that demonstrates the problem you're trying to solve. Read the last sentence of my previous comment again. (Actually, read the whole thing again - you still have a malformed unit with missing sections and meaningless code. You have a variable that's used long before it's declared, it's initialized in the wrong place, and you don't have a valid DLL (library) unit in the first place. Use File->New->Other->DLL file to see what a proper shell looks like, and start over.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload