<br><br><div class="gmail_quote">On 5 September 2010 14:48, Jonas Maebe <span dir="ltr"><<a href="mailto:jonas.maebe@elis.ugent.be">jonas.maebe@elis.ugent.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im"><br>
On 05 Sep 2010, at 15:05, Frank Church wrote:<br>
<br>
> Running the code below produces this error message:<br>
> rcacsbilling.pas(3660,25) Error: Identifier not found "dbgRemoteLinks"<br>
><br>
> if [dbgRemoteLinks] in dbgActiveOptions then<br>
> mmoURLPageContent.Lines.AddStrings(procList);<br>
><br>
> Is that the wrong syntax in FreePascal?<br>
<br>
</div>The syntax is wrong, but it should give a different error message. "in" expects a set *element* on the left hand side, why you are using a set. It should read:<br>
<div class="im"> if dbgRemoteLinks in dbgActiveOptions then<br>
<br>
</div>Even then, I'm not sure whether that will make it compilable if the compiler really cannot find the dbgRemoteLinks identifier. Did you include the unit that defines it in the uses clauses?<br>
<br></blockquote><div><br>My error. dbgRemoteLinks was in a separate types unit and I hadn't included it yet.<br><br>Thanks <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Jonas_______________________________________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Frank Church<br><br>=======================<br><a href="http://devblog.brahmancreations.com">http://devblog.brahmancreations.com</a><br>