Code: Select all
if (ctbicon( , 14) != ":viewlist" OR cbtstate( , 14) != 0) {
ctbstate(0, 14);
ctbicon(":viewlist", 14);
}
Code: Select all
if (ctbicon( , 14) != ":viewlist" OR cbtstate( , 14) != 0) {
ctbstate(0, 14);
ctbicon(":viewlist", 14);
}
Code: Select all
$varv = '$_DB_sn0 $_DB_sn1 $_DB_sn2 $_DB_snc' $_DB_snl; // list of perm names
Echo "varv = '$varv'.";This is more difficult. Reporting this will break too many old scripts.PeterH wrote:In the prev hours I would have needed it for bad quoted strings!
Had tried to paste the last token into the quote - but must have missed![]()
See the example with bug - only to test I added the Echo:What would you expect as contents for $varv?Code: Select all
$varv = '$_DB_sn0 $_DB_sn1 $_DB_sn2 $_DB_snc' $_DB_snl; // list of perm names Echo "varv = '$varv'.";
The result (in means of my script) was very strange. Output was rubbish![]()
For me this was a bad-formed statement and should have been reported
(I think it can not make any sense in any way.)
Saw the beta, installed, tweaked.admin wrote:This is more difficult. Reporting this will break too many old scripts.PeterH wrote:...
What about a tweak for this? Like ScriptingStrictSyntax = 1, or so?
Much better!!!admin wrote:Yep. Next version better.
I think in sense of understandig it's a bit risky: it might seem to say to some people that some strings need no quoting...admin wrote:Hmm, not sure. I would even tend to allow (= find non-dubious) all one-characters arguments unquoted. Simply for economic reasons.