<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">On 6/27/2020 5:34 AM, Zamrony P. Juhara
via fpc-pascal wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1317902011.3183851.1593250482563@mail.yahoo.com">Use
{$MODE TP}<br id="yMail_cursorElementTracker_1593250442338">
<br>
<div>Zamrony P. Juhara</div>
</blockquote>
<p><br>
</p>
<p><br>
</p>
<p>Hadn't known about that particular directive, but it changes
nothing. Using -Mtp also changes nothing.</p>
<p>Still get illegal expression errors. <frown> Anyone know
how to convert this to something FPC can parse? I tried looking up
hash tables in the help files, but the brief summaries there don't
shed enough light on the syntax for me to figure out how to
convert this mess to something FPC can handle.</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:1317902011.3183851.1593250482563@mail.yahoo.com">
<div>On Sat, Jun 27, 2020 at 14:27, Travis Siegel</div>
<blockquote>
<div>
<div><a class="moz-txt-link-rfc2396E" href="mailto:tsiegel@softcon.com"><tsiegel@softcon.com></a> wrote:</div>
</div>
<div>
<div dir="ltr">I'm porting some code from tp7 to fpc, and I'm
running into an error I <br>
</div>
<div dir="ltr">don't know how to fix. The comments claim it's
supposed to be a hash <br>
</div>
<div dir="ltr">table, but to me, it looks more like labels
tied to various arrays.<br>
</div>
<div dir="ltr"><br>
</div>
<div dir="ltr"><br>
</div>
<div dir="ltr"> Ofs_00_02: Word = Ofs (Ofs_00_01);<br>
</div>
<div dir="ltr"> Tok_00_02: TToken = Token_BEGIN;<br>
</div>
<div dir="ltr"> ResWordLen_BEGIN: Byte = 5;<br>
</div>
<div dir="ltr"> ResWord_BEGIN: Array [1..5] of Char =
'BEGIN';<br>
</div>
<div dir="ltr"><br>
</div>
<div dir="ltr"> Ofs_00_03: Word = Ofs (Ofs_00_02);<br>
</div>
<div dir="ltr"> Tok_00_03: TToken = Token_DIV;<br>
</div>
<div dir="ltr"> ResWordLen_DIV: Byte = 3;<br>
</div>
<div dir="ltr"> ResWord_DIV: Array [1..3] of Char = 'DIV';<br>
</div>
<div dir="ltr"><br>
</div>
<div dir="ltr"> Ofs_00_04: Word = Ofs (Ofs_00_03);<br>
</div>
<div dir="ltr"> Tok_00_04: TToken = Token_NIL;<br>
</div>
<div dir="ltr"> ResWordLen_NIL: Byte = 3;<br>
</div>
<div dir="ltr"> ResWord_NIL: Array [1..3] of Char = 'NIL';<br>
</div>
<div dir="ltr"><br>
</div>
<div dir="ltr"> Ofs_00_05: Word = Ofs (Ofs_00_04);<br>
</div>
<div dir="ltr"> Tok_00_05: TToken = Token_PROCEDURE;<br>
</div>
<div dir="ltr"> ResWordLen_PROCEDURE: Byte = 9;<br>
</div>
<div dir="ltr"> ResWord_PROCEDURE: Array [1..9] of Char =
'PROCEDURE';<br>
</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Fpc just gives me illegal expression errors,
with no indication as to <br>
</div>
<div dir="ltr">what's illegal about them. Any suggestions?<br>
</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Thanks for any help in advance.<br>
</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">_______________________________________________<br>
</div>
<div dir="ltr">fpc-pascal maillist - <a
href="mailto:fpc-pascal@lists.freepascal.org"
moz-do-not-send="true">fpc-pascal@lists.freepascal.org</a><br>
</div>
<div dir="ltr"><a
href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal"
target="_blank" moz-do-not-send="true">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a><br>
</div>
</div>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
fpc-pascal maillist - <a class="moz-txt-link-abbreviated" href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a>
</pre>
</blockquote>
</body>
</html>