Declaration of Variable Option

Feature requests for future versions of Hollywood can be voiced here
Post Reply
Randy
Posts: 4
Joined: Sat Jul 15, 2023 2:50 pm

Declaration of Variable Option

Post by Randy »

Option to require variables to be declared in the script or by compiler option. Something like @OPTIONS {DeclareVariable = True} or compiler opt -DeclareVariable.
User avatar
airsoftsoftwair
Posts: 5446
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Declaration of Variable Option

Post by airsoftsoftwair »

Actually, I've thought about something like this several times but then decided against it because this has the potential to cause lots of trouble, e.g. 3rd party includes containing some library code etc. could stop working if they aren't designed to be compatible with a mode that requires declaration of variables and there are several other tricky issues to consider here so this is unlikely to come.
Post Reply