| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | [TSEPro] Re: Running a just-compiled macro repeatedly |
From: "Sammy Mitchell"
@Date: Mon, 24 Feb 2003 08:33:21 -0500
@Sender: semware-owner{at}sawasdi.apana.org.au
From: "Fred Holmes":
>If I code, compile, execute/test a macro repeatedly, I must
>each time purge the macro before running the next
>iteration. If I don't, executing the macro executes the
>object code that TSE had kept in its own memory space (I'm
>guessing), rather than reading the new object code from the
>just-written .mac file on disk.
No, that isn't correct, at least not for me. When you use
the compile macro to compile a macro, and then execute it by
selecting "Execute" from the menu presented after a
successful compile, the macro is reloaded from disk.
You can test that by using this simple macro:
-------cut here--------------------------------------------
integer here
proc main()
Warn(here)
here = here + 1
end
-------cut here--------------------------------------------
This macro increments "here" each time it is run. If "here"
is non-zero, that means the macro has not been purged from
memory. If "here" is zero, the macro has just been loaded.
--
Sammy Mitchell
--
TSEPro Mailing List
List Maintenance: www.semware.com/html/list.htm
---
[sawasdi.apana.org.au] (3:800/846.13)
* Origin: apana>>>>>fidonetSEEN-BY: 633/267 270 @PATH: 800/846 1 640/954 774/605 123/500 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.