New account

AnsiInsertStr  Bottom

  • Hi again

    An error in System.pas makes it difficult to insert a shortstring into an ansistring :

    Code

    PROCEDURE AnsiInsertStr(CONST Source:String; VAR S:AnsiString; Index:LONGINT);

    VAR ss:AnsiString;

    BEGIN

    ss:=Source;

    AnsiInsert(s,ss,Index);

    END;


    Should be :

    Code

    PROCEDURE AnsiInsertStr(CONST Source:String; VAR S:AnsiString; Index:LONGINT);

    VAR ss:AnsiString;

    BEGIN

    ss:=Source;

    AnsiInsert(ss,s,Index);

    END;


    Kim Foder
  • Hello Kim!

    Thank you for the correction.
    I have correct it in the System.pas.

    bye,
    Wolfgang
  • 0 users

This list is based on users active over the last 30 minutes.