Stefanos Beligiannis
2014-11-09 14:25:07 UTC
If somebody has met this problem please advise.
----------------code var   f : text;
   fn,nam : string;
 Â
begin
    fn:=Edit2.Caption;
    {$I-}
    assign(f,fn);
    if (not FileExists(fn)) then Rewrite(f) else Append(f);
    {$I+}----------------- end codecompiler error report-----------------  startk2u.pas(92,18) Error: Wrong number of parameters specified for call to "Assign"k2u.pas(93,44) Hint: Local variable "f" does not seem to be initialized----------------- end
use Lazarus # 1.2.6
----------------code var   f : text;
   fn,nam : string;
 Â
begin
    fn:=Edit2.Caption;
    {$I-}
    assign(f,fn);
    if (not FileExists(fn)) then Rewrite(f) else Append(f);
    {$I+}----------------- end codecompiler error report-----------------  startk2u.pas(92,18) Error: Wrong number of parameters specified for call to "Assign"k2u.pas(93,44) Hint: Local variable "f" does not seem to be initialized----------------- end
use Lazarus # 1.2.6