<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.6000.16544" name=GENERATOR></HEAD>
<BODY>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px"><FONT
face=Arial color=#0000ff size=2></FONT>
<DIV><BR><BR>When the loop runs again Assigned in InitVars is false so as soon
as those FBreakStrings and SCStrings are accessed within the loop a SIGSEGV
occurs. So what I want to know is whether Assigned remains true when
Free is executed.<BR><BR><SPAN class=390162907-22102011><FONT face=Arial
color=#0000ff size=2> </FONT></SPAN></DIV></BLOCKQUOTE>
<DIV><SPAN class=390162907-22102011><FONT face=Arial color=#0000ff size=2>See my
previous answer. </FONT></SPAN></DIV>
<DIV><SPAN class=390162907-22102011><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=390162907-22102011><FONT face=Arial color=#0000ff size=2>There
is a helper function "procedure FreeAndNil(var obj);" that calls obj.free and
sets obj to nil. So instead of <FONT face="Times New Roman" color=#000000
size=3>SCStrings.Free; SCStrings:=nil; </FONT>call <FONT
face="Times New Roman"><FONT color=#000000
size=3>FreeAndNil(SCStrings);</FONT></FONT><BR></FONT></SPAN></DIV>
<DIV><SPAN class=390162907-22102011><FONT face=Arial color=#0000ff
size=2>Ludo</DIV></FONT></SPAN>
<DIV><SPAN class=390162907-22102011><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=390162907-22102011><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV></BODY></HTML>