For use in dclerk.... :-)<br><br>Since there is relatively little difference between load times with dclerk and rclerk on today&#39;s computers I see little reason to use rclerk since I am not a third party developer protecting my code on customers computers by only installing tok files, which is about the only plus for rclerk now I believe.<br>
<br>Ken<br><br><div class="gmail_quote">On Thu, Feb 14, 2013 at 10:35 AM, Joe Chasan <span dir="ltr">&lt;<a href="mailto:joe@magnatechonline.com" target="_blank">joe@magnatechonline.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
then again, why allow for this &quot;dynamic&quot; syntax in cabe?<br>
<br>
-joe<br>
<br>
On Thu, Feb 14, 2013 at 10:30:38AM +1100, Ken Cole wrote:<br>
&gt; Joe,<br>
&gt;<br>
&gt; Look at it this way, since variables must be pre-defined in filePro, so<br>
&gt; they have a size and edit in the token table (tok file),  that is just the<br>
&gt; way filePro has always worked, how else can rclerk use this syntax except<br>
&gt; to re-tokenise each and every time it loads which means it would actually<br>
&gt; be dclerk? :-)<br>
&gt;<br>
&gt; If the token table concept didn&#39;t exist we could have array&#39;s with dynamic<br>
&gt; length as well but we don&#39;t! :-(<br>
&gt;<br>
&gt; Cheers<br>
&gt;<br>
&gt; Ken<br>
&gt;<br>
&gt; On Thu, Feb 14, 2013 at 10:24 AM, Joe Chasan &lt;<a href="mailto:joe@magnatechonline.com">joe@magnatechonline.com</a>&gt;wrote:<br>
&gt;<br>
&gt; &gt; i understand why its happening, i just think its poor implentation if<br>
&gt; &gt; fp allows for this feature but it is only available in dclerk.<br>
&gt; &gt;<br>
&gt; &gt; -joe<br>
&gt; &gt;<br>
&gt; &gt; On Thu, Feb 14, 2013 at 10:19:01AM +1100, Ken Cole wrote:<br>
&gt; &gt; &gt; Joe,<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I see this as the &quot;normal&quot; state for compiled/tokenised code as is<br>
&gt; &gt; required<br>
&gt; &gt; &gt; for rclerk.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Since dclerk technically in memory re-tokenises every time you run the<br>
&gt; &gt; &gt; processing table, basically the only difference between rclerk and<br>
&gt; &gt; dclerk,<br>
&gt; &gt; &gt; I fully understand why dclerk works and rclerk doesn&#39;t until<br>
&gt; &gt; re-tokenised.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; rclerk has created the token table (tok file) entry for test_field the<br>
&gt; &gt; last<br>
&gt; &gt; &gt; time it was tokenised and that definition will stay in the token table<br>
&gt; &gt; &gt; until re-tokenised.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; The code you used is a short cut definition, not dynamic definition,<br>
&gt; &gt; unless<br>
&gt; &gt; &gt; you are using dclerk.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I don&#39;t see this as a bug or poor design.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Regards<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Ken<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; On Thu, Feb 14, 2013 at 9:26 AM, Joe Chasan &lt;<a href="mailto:joe@magnatechonline.com">joe@magnatechonline.com</a>&gt;<br>
&gt; &gt; wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; consider the following line of code:<br>
&gt; &gt; &gt; &gt; declare local test_field(len(1),edit(1))<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; then you code some routines around test_field and figured you have the<br>
&gt; &gt; &gt; &gt; system beat, you won&#39;t have to change dummy field length/type if field<br>
&gt; &gt; &gt; &gt; #1 changes at all.  great for reusable code, libraries, etc, or so I<br>
&gt; &gt; &gt; &gt; thought.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; today i changed field length.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; in define processing, if you press &lt;F6&gt;&lt;L&gt; it correctly reports the<br>
&gt; &gt; &gt; &gt; current field length/type of test_field<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; BUT - if you do not save the processing table and retokenize, rclerk<br>
&gt; &gt; &gt; &gt; still has the old length/type (dclerk works).<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; If this construct is not adjusted at runtime (even with quickstart),<br>
&gt; &gt; &gt; &gt; what is the point of this &quot;feature&quot;?<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Bug?  Poor design?<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; (5.6.11/sco - reproducable on sco5 and sco6)<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; --<br>
&gt; &gt; &gt; &gt; -Joe Chasan-                           Magnatech Business Systems, Inc.<br>
&gt; &gt; &gt; &gt; joe - at - magnatechonline -dot- com   Hicksville, NY - USA<br>
&gt; &gt; &gt; &gt; <a href="http://www.MagnatechOnline.com" target="_blank">http://www.MagnatechOnline.com</a>         Tel.(516) 931-4444/Fax.(516)<br>
&gt; &gt; &gt; &gt; 931-1264<br>
&gt; &gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; &gt; Filepro-list mailing list<br>
&gt; &gt; &gt; &gt; <a href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a><br>
&gt; &gt; &gt; &gt; Subscribe/Unsubscribe/Subscription Changes<br>
&gt; &gt; &gt; &gt; <a href="http://mailman.celestial.com/mailman/listinfo/filepro-list" target="_blank">http://mailman.celestial.com/mailman/listinfo/filepro-list</a><br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; -------------- next part --------------<br>
&gt; &gt; &gt; An HTML attachment was scrubbed...<br>
&gt; &gt; &gt; URL:<br>
&gt; &gt; <a href="http://mailman.celestial.com/pipermail/filepro-list/attachments/20130214/63d4a4ae/attachment.html" target="_blank">http://mailman.celestial.com/pipermail/filepro-list/attachments/20130214/63d4a4ae/attachment.html</a><br>

&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; Filepro-list mailing list<br>
&gt; &gt; &gt; <a href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a><br>
&gt; &gt; &gt; Subscribe/Unsubscribe/Subscription Changes<br>
&gt; &gt; &gt; <a href="http://mailman.celestial.com/mailman/listinfo/filepro-list" target="_blank">http://mailman.celestial.com/mailman/listinfo/filepro-list</a><br>
&gt; &gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; -Joe Chasan-                           Magnatech Business Systems, Inc.<br>
&gt; &gt; joe - at - magnatechonline -dot- com   Hicksville, NY - USA<br>
&gt; &gt; <a href="http://www.MagnatechOnline.com" target="_blank">http://www.MagnatechOnline.com</a>         Tel.(516) 931-4444/Fax.(516)<br>
&gt; &gt; 931-1264<br>
&gt; &gt;<br>
--<br>
-Joe Chasan-                           Magnatech Business Systems, Inc.<br>
joe - at - magnatechonline -dot- com   Hicksville, NY - USA<br>
<a href="http://www.MagnatechOnline.com" target="_blank">http://www.MagnatechOnline.com</a>         Tel.(516) 931-4444/Fax.(516) 931-1264<br>
</blockquote></div><br>