Re: Prothon bug: strange interaction between self and add_
"Mark Hahn" <[email protected]> Wed, 19 May 2004 13:08:07 -0700
| Newsgroups | gmane.comp.lang.prothon.devel |
|---|---|
| Message-ID | <[email protected]> |
"Lenard Lindstrom" <[email protected]> wrote in message news:Mahogany-0.66.0-4294894389-20040519- > Does the prothon interpreter remember anything between command line runs? > A particular output will appear several times in a row before changing to > something else. Do you mean command lines in the interactive console? Yes, the console keeps the complete state of all objects between runs. The console has been particularly buggy. It is the cause of you getting different results on different runs. If you run your code from a source file, you will at least get a consistent result each time. The first thing I will do is put your source in a file and run it that way. If you have not tried that, you might even find that your code works from a file. If you meant running it from a source file, then the answer is no, the interpreter has no state information between runs.