#150253 - 2006-02-24 01:35 AM
Re: Script sanity checker
|
NTDOC
Administrator
   
Registered: 2000-07-28
Posts: 11634
Loc: Space
|
Quote:
I think it is best practice to use $
Well I suppose that's what's good about opinions, eveyone has one. I personally disagree with the idea of BEST PRACTICE
As for your example I do something like this
Break On Dim $SO,$Pause $SO=SetOption('Explicit','On') $SO=SetOption('NoVarsInStrings','On') $SO=SetOption('NoMacrosInStrings','On')
;run some code stuff
Get $Pause
To me that is VERY clear what it's being used for. Finding a bunch of $ all over the place in a large script and trying to fix or update the code is a nightmare.
|
|
Top
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 799 anonymous users online.
|
|
|