<div dir='auto'>or maybe don't use the variable name "result" because it might point to the special delphi "result" var and not yours?<br><br><div data-smartmail="gmail_signature">--<br>Alexander Grotewohl<br>http://dcclost.com</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sep 28, 2019 4:15 PM, Alexander Grotewohl <alex@dcclost.com> wrote:<br type="attribution" /><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">don't know off the top of my head but does the ord() bit segfault without assigning it to anything? like if the function only had writleln(ord())! or does the result:= section segfault using ord() without the pointers?<div dir="auto"><br /></div><div dir="auto">my guess is it works on linux/mac purely by luck. but i could be wrong.<br /><br /><div data-smartmail="gmail_signature" dir="auto">--<br />Alexander Grotewohl<br />http://dcclost.com</div></div></div><div><br /><div class="elided-text">On Sep 28, 2019 3:21 PM, Ozz Nixon <ozznixon@gmail.com> wrote:<br type="attribution" /><blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-size:large"><div><img src="cid:ii_k13cwh4c0" alt="image.png" width="427" height="180" /><br /></div><div><br /></div><div>When I evaluate the code - it is perfect. However, when I run the code, it raises a SIGSEGV - Segmentation fault. Yet, the code runs perfectly on Linux 64bit machine, and Mac 32bit.</div></div></div>
</blockquote></div><br /></div></blockquote></div><br></div>