--- In [email protected], "brother.gabriel" <brgabr...@...> wrote:
>
> Hello, y'all!
>
> I use Powerpro portable on my usb drive, but I always have problems with it.
> For example, I add win.debug(somevariable) to a function and call it. Okay,
> it gives me the value. Then I delete win.debug from the script and call it
> again. The win.debug remains! But it isn't even in the script!
>
> Must I use the portable version for PP or can I just use regular PP?
>
The only explanation I can see for this is as follows: PowerPro keeps a copy of
scripts in memory to save time running them. It tries to detect whether the
file containing the script has changed each time the script is started, but
some people have said that it fails to do so in some cases (I have never seen
this in my tests). Pls make sure you updated the actual file where the script
was loaded from.
If that does not solve the issue, then you can have a hot key which runs this
command
exec.scriptcache("clear")
which will clear all scripts from memory and force a load from the file.
There is no special portable version of PPro that I am aware of, although I
know some people have developed configuration hints to use it effectively from
a portable drive.