MantisBT - mSLDev
View Issue Details
0000146mSLDevSyntax Checkingpublic2013-04-17 20:462013-05-16 22:25
Wims 
administrator 
normalminoralways
closedfixed 
 
0.4.1.0 
0000146: condition and &&
alias nohtml& {
  var %pos
  while ($bfind($1,1,<).text) && } {
    %pos = $v1
    if ($bfind($1,$calc(1+%pos),>).text) bcopy -c $1 %pos $1 $iif($v1 != $bvar($1,0),$calc((1+$v1)*((%v -%a) - (%o *(%c - %m)) -1,$v1 0)
    else bcopy -c $1 1 $1 1 $calc(%pos -1)
  }
  while ($bfind($1,1,>).text) bcopy -c $1 1 $1 $calc(1+$v1) -1
}

No error is reported there
No tags attached.
Issue History
2013-04-17 20:46WimsNew Issue
2013-05-16 22:25administratorNote Added: 0000103
2013-05-16 22:25administratorStatusnew => closed
2013-05-16 22:25administratorAssigned To => administrator
2013-05-16 22:25administratorResolutionopen => fixed
2013-05-16 22:25administratorFixed in Version => 0.4.1.0

Notes
(0000103)
administrator   
2013-05-16 22:25   
Fixed.

Note that your code has errors on the $iif() ident.