You are not logged in.
Pages: 1
Just a little confused as to which variable in pascal get shared between files? ive been finding ive had to add x := ''; to things sometimes as it would end up using old values
Offline
All variables declared within the script level context will persist for the whole Preview operation and will be shared between executions of a script for each file.
The script level context is the root level var section, as opposed to local var sections within procedures and functions.
Here is a quick demo script of how to handle the initialization of variables:
https://www.den4b.com/wiki/ReNamer:Scripts:Initialize
Offline
Pages: 1