can I unload or reload a file after i have "loadi()" it and

Guest
I am debugging a program written in skill. Once I loadi("test.il") in
icfb, I only can close my icfb to unload the test program. Are there
any other ways to avoid closing icfb but to unload or reload my test
program after I correct some mistakes? thank you ~
 
liduanliang@gmail.com wrote, on 03/21/09 14:10:
I am debugging a program written in skill. Once I loadi("test.il") in
icfb, I only can close my icfb to unload the test program. Are there
any other ways to avoid closing icfb but to unload or reload my test
program after I correct some mistakes? thank you ~
You should (unless you've turned on write protection with
sstatus(writeProtect t) just be able to load the file again.

You can undefine specific functions by doing:

putd('funcName nil)

and undefine variables by doing:

varName='unbound

Note that the first of these won't work if the function is write protected (i.e.
if it was first defined with writeProtect turned on.

You an also use:

sstatus(debugMode t)

and then you can load the code again even if the functions were defined with
writeProtect turned on.

Regards,

Andrew.
 
On Sun, 22 Mar 2009 13:07:56 +0000, Andrew Beckett wrote:
liduanliang@gmail.com wrote, on 03/21/09 14:10:
... snip

You an also use:

sstatus(debugMode t)

and then you can load the code again even if the functions were defined with
writeProtect turned on.

Regards,

Andrew.
This is great! I also learned something from this. Just popping up to
express my appreciation, instead of remaining one of the silent masses.
 

Welcome to EDABoard.com

Sponsor

Back
Top