Sha256: ac5c13dfe0c2ffaf8bbad802b8c80e15a98405570a2ae784048a8c32edaa9c5c

Contents?: true

Size: 263 Bytes

Versions: 55

Compression:

Stored size: 263 Bytes

Contents

unit utwofer;

interface

  function twoFer(aName: string=''): string;

implementation
uses SysUtils;

function twoFer(aName: string=''): string;
begin
  if trim(aName).IsEmpty then
    aName := 'you';
  result := 'One for ' + aName + ', one for me.';
end;

end.

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
trackler-2.2.1.20 tracks/delphi/exercises/two-fer/utwoferExample.pas
trackler-2.2.1.19 tracks/delphi/exercises/two-fer/utwoferExample.pas
trackler-2.2.1.18 tracks/delphi/exercises/two-fer/utwoferExample.pas
trackler-2.2.1.17 tracks/delphi/exercises/two-fer/utwoferExample.pas
trackler-2.2.1.16 tracks/delphi/exercises/two-fer/utwoferExample.pas
trackler-2.2.1.15 tracks/delphi/exercises/two-fer/utwoferExample.pas
trackler-2.2.1.14 tracks/delphi/exercises/two-fer/utwoferExample.pas
trackler-2.2.1.13 tracks/delphi/exercises/two-fer/utwoferExample.pas
trackler-2.2.1.12 tracks/delphi/exercises/two-fer/utwoferExample.pas
trackler-2.2.1.11 tracks/delphi/exercises/two-fer/utwoferExample.pas
trackler-2.2.1.10 tracks/delphi/exercises/two-fer/utwoferExample.pas
trackler-2.2.1.9 tracks/delphi/exercises/two-fer/utwoferExample.pas
trackler-2.2.1.8 tracks/delphi/exercises/two-fer/utwoferExample.pas
trackler-2.2.1.7 tracks/delphi/exercises/two-fer/utwoferExample.pas
trackler-2.2.1.6 tracks/delphi/exercises/two-fer/utwoferExample.pas
trackler-2.2.1.5 tracks/delphi/exercises/two-fer/utwoferExample.pas
trackler-2.2.1.4 tracks/delphi/exercises/two-fer/utwoferExample.pas
trackler-2.2.1.3 tracks/delphi/exercises/two-fer/utwoferExample.pas
trackler-2.2.1.2 tracks/delphi/exercises/two-fer/utwoferExample.pas
trackler-2.2.1.1 tracks/delphi/exercises/two-fer/utwoferExample.pas