<html><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:13px"><div id="yiv9910186656yui_3_16_0_1_1415474376791_241280" style="color: rgb(0, 0, 0); font-family: verdana, helvetica, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);" dir="ltr">If somebody has met this problem please advise.</div><div id="yiv9910186656yui_3_16_0_1_1415474376791_241288" style="color: rgb(0, 0, 0); font-family: verdana, helvetica, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);" dir="ltr"><br></div><div id="yiv9910186656yui_3_16_0_1_1415474376791_241287" style="color: rgb(0, 0, 0); font-family: verdana, helvetica, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);" dir="ltr">----------------code </div><div id="yiv9910186656yui_3_16_0_1_1415474376791_241291" style="color: rgb(0, 0, 0); font-family: verdana, helvetica, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);" dir="ltr">var f : text;<br> fn,nam : string;<br> <br>begin<br> fn:=Edit2.Caption;<br> {$I-}<br> assign(f,fn);<br> if (not FileExists(fn)) then Rewrite(f) else Append(f);<br> {$I+}</div><div id="yiv9910186656yui_3_16_0_1_1415474376791_241295" style="color: rgb(0, 0, 0); font-family: verdana, helvetica, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);" dir="ltr">----------------- end code</div><div id="yui_3_16_0_1_1415474376791_241950" style="color: rgb(0, 0, 0); font-family: verdana, helvetica, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);" dir="ltr">compiler error report</div><div id="yiv9910186656yui_3_16_0_1_1415474376791_241296" style="color: rgb(0, 0, 0); font-family: verdana, helvetica, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);" dir="ltr">----------------- start</div><div id="yui_3_16_0_1_1415474376791_241975" style="color: rgb(0, 0, 0); font-family: verdana, helvetica, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);" dir="ltr">k2u.pas(92,18) Error: Wrong number of parameters specified for call to "Assign"</div><div id="yui_3_16_0_1_1415474376791_241976" style="color: rgb(0, 0, 0); font-family: verdana, helvetica, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);" dir="ltr">k2u.pas(93,44) Hint: Local variable "f" does not seem to be initialized</div><div id="yui_3_16_0_1_1415474376791_242020" style="color: rgb(0, 0, 0); font-family: verdana, helvetica, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);" dir="ltr">----------------- end</div><div id="yui_3_16_0_1_1415474376791_241996" style="color: rgb(0, 0, 0); font-family: verdana, helvetica, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);" dir="ltr"><br></div><div id="yui_3_16_0_1_1415474376791_241995" style="color: rgb(0, 0, 0); font-family: verdana, helvetica, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);" dir="ltr">use Lazarus # 1.2.6</div><div id="yui_3_16_0_1_1415474376791_241997" style="color: rgb(0, 0, 0); font-family: verdana, helvetica, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);" dir="ltr"><br></div><div id="yui_3_16_0_1_1415474376791_242021" style="color: rgb(0, 0, 0); font-family: verdana, helvetica, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);" dir="ltr"><br><br></div></div></body></html>