Ignore:
Timestamp:
Jun 29, 2023, 1:47:58 AM (17 months ago)
Author:
chronos
Message:
  • Fixed: Var function parameters processed correctly for both user defined and internal functions.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/xpascal/Examples/Example.pas

    r233 r236  
    1717begin
    1818  WriteLn(Text);
     19end;
     20
     21procedure SetText(var Text: string, NewText: string);
     22begin
     23  Text := NewText;
    1924end;
    2025
     
    7277  WriteLn(A);
    7378
     79  SetText(A, 'New text');
     80  WriteLn('New text: ' + A);
     81
    7482  WriteLn('What is your name?');
    7583  ReadLn(A);
Note: See TracChangeset for help on using the changeset viewer.