Sha256: 306f708d5c0c3b4ecc9c8b26a5073f0b6d19762b905a34d073ea450e38ff3efd
Contents?: true
Size: 535 Bytes
Versions: 35
Compression:
Stored size: 535 Bytes
Contents
//======================================================== // Example solution to exercise. // // A simple hello function would suffice, however this // solution is mimicking the Ruby hello-world exercise //======================================================== unit uHelloWorld; interface type THelloWorld = class public class function hello(name: string='World'): string; static; end; implementation class function THelloWorld.hello(name: string='World'): string; begin result := 'Hello, ' + name + '!'; end; end.
Version data entries
35 entries across 35 versions & 1 rubygems