Scripting Unmatched delimiter [types] ")" [closing]

Things you’d like to miss in the future...
Post Reply
Zardoz2293
Posts: 506
Joined: 09 Nov 2011 20:20
Location: Washington, USA

Scripting Unmatched delimiter [types] ")" [closing]

Post by Zardoz2293 » 12 Nov 2018 20:37

Seems that the Scripting engine should throw an error on an unmatched closing parenthese ")".

Code: Select all

msg $NameStatus . " entire folder structure for <br><br>'$TypeFind'<br><br>Proceed?", 1);

Thread of discussion below:
viewtopic.php?f=3&t=19664&p=164016#p164016

Thank you
Computer/Systems Background = Expert | Windows 10 Pro (64-Bit) | Dell Precision 7720

klownboy
Posts: 2711
Joined: 28 Feb 2012 19:27

Re: Scripting Unmatched delimiter [types] ")" [closing]

Post by klownboy » 13 Nov 2018 00:04

Check "Syntax Checking" under the Scripting menu. That will yield a scripting dubious syntax message. I would think that should be sufficient.

Zardoz2293
Posts: 506
Joined: 09 Nov 2011 20:20
Location: Washington, USA

Re: Scripting Unmatched delimiter [types] ")" [closing]

Post by Zardoz2293 » 13 Nov 2018 05:54

klownboy wrote:
13 Nov 2018 00:04
Check "Syntax Checking" under the Scripting menu. That will yield a scripting dubious syntax message. I would think that should be sufficient.
So what's the equivalent in-scripting command to enable when executing the script?

Thanks
Computer/Systems Background = Expert | Windows 10 Pro (64-Bit) | Dell Precision 7720

jupe
Posts: 1157
Joined: 20 Oct 2017 21:14
Location: 1903 x64

Re: Scripting Unmatched delimiter [types] ")" [closing]

Post by jupe » 13 Nov 2018 06:03

Code: Select all

#758;
you would have to disable it at the end of the script though or it will stay enabled, I think if you are fairly new to scripting it would be wise to just leave it enabled though anyway, you would only notice a difference if you make scripting errors.

Zardoz2293
Posts: 506
Joined: 09 Nov 2011 20:20
Location: Washington, USA

Re: Scripting Unmatched delimiter [types] ")" [closing]

Post by Zardoz2293 » 13 Nov 2018 08:20

Thanks. Actually, I can't imagine why I'd want syntax checking off.
Computer/Systems Background = Expert | Windows 10 Pro (64-Bit) | Dell Precision 7720

highend
Posts: 8209
Joined: 06 Feb 2011 00:33

Re: Scripting Unmatched delimiter [types] ")" [closing]

Post by highend » 13 Nov 2018 09:15

You'll notice soon enough (if you use scripts made by other people that don't use the same setting) :whistle:
One of my scripts helped you out? Please donate via Paypal or highend (at) web (dot) de

Post Reply