crayon-syntax-highlighter/util/sample/dws.txt

14 lines
302 B
Plaintext
Raw Permalink Normal View History

2019-08-30 19:30:19 +02:00
type
THelloWorld = class
procedure Put; // you can also implement out of line
begin
PrintLn('Hello, World!');
end
end;
var HelloWorld := new THelloWorld; // strong typing, inferred
HelloWorld.Put;
// no need to release objects thanks to automatic memory management