PDA

View Full Version : function WL(lol:String):Boolean;



Sin
05-14-2012, 02:55 PM
function WL(lol:String):Boolean;
begin
writeLn(lol);
Result := True;
end;

Lol XD
shortened by a ton :p

Abu
05-14-2012, 03:00 PM
Advantages?

Personally I feel it's not as self explanatory as Writeln, so it can be harder for new users to understand...

Frement
05-14-2012, 03:04 PM
function WL(s: String): Boolean;
begin
Result := writeln(s);
end;