remobjects / pascalscript

pascalscript
Other
447 stars 178 forks source link

Prevent access violation on GetVarValue #269

Open joaoduarte19 opened 2 months ago

joaoduarte19 commented 2 months ago

The GetVarValue method caused an access violation when trying to get the value of a variable after compiling the script. The error occurs because ProcVars and ProcParams were not defined, only global variables. Added validation fixes this error.