Hello, guys,<div><br></div><div>I have the following snippet of a right side rule:</div><div><br></div><div><div><br></div><div> modify ($gsc) {</div><div> doSomething($<a href="http://item.id">item.id</a>);</div>
<div> </div><div> for (int i = 0; i < $item.quantity; i++) {</div><div> doSomethingElse($<a href="http://item.id">item.id</a>);</div><div> }</div><div> }</div></div>
<div><br></div><div>which looks like is invalid syntax in some way, but it comes out with strange error report, such as '[Error: no such identifier: $item]'</div><div><br></div><div>Would you please assist me on how to put that loop inside that modify block?</div>
<div><br></div><div>Thank you and regards,</div><div>Martin</div>