Hi:
I'm a bit unclear on why PS is passing scripts through Compile/Check script only to have them fail on execution.
For instance, I can specify Option Explicit, then use an undimensioned variable in an expression as here:
x = "hello"
and PS will pass it without error. On execution, Windows Script Host Version 5.6 will kick it out with the error "Microsoft VBScript runtime error: Variable is undefined: 'x'"
Is this considered normal?
Thanks in advance for your help.
Using PrimalScript v4.0.481, Windows XP SP2.
Compile/Check script allowing errors
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- fubarinsfo
- Posts: 5
- Last visit: Thu Jan 31, 2008 8:51 am
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
Compile/Check script allowing errors
The option for Ctrl+F7 can be set for any language under Tools - Options - Languages and by setting a command line tool for the appropriate language.
Some languages have compilers, others have syntax checkers.
If this option is enabled for you and VBScript, something is configured at this location.
If you post over in the PrimalScript support forum I am sure we can figure out what happened.
Alex
Some languages have compilers, others have syntax checkers.
If this option is enabled for you and VBScript, something is configured at this location.
If you post over in the PrimalScript support forum I am sure we can figure out what happened.
Alex
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.