Monday 18th March.
At this meeting, we started with a “Public Soap Box” where topics discussed included hosting issues on Amazon servers and the problems caused by Windows 10 upgrades..
Then John McDonald showed how easy it is to set up classes to work with the
for element in expression
syntax.
Two classes are required:
- the enumerable class, containing a GetEnumerator method that returns an enumerator
- the enumerator class, containing a MoveNext method and a current property.
A very simple example of such classes can be downloaded from here.
The same approach works with records and interfaces.
John also showed code for an iterator he uses to simplify iteration through files and directories.
We watched two short videos from Alister Christie’s learndelphi.tv web site.
And Tony Bryer presented on SVG – Scalable Vector Graphics, an open XML based standard developed by W3C.
He mentioned a tutorial on SVG at www.w3schools.com/graphics/svg_intro.asp
and a page where you can experiment with SVG
www.w3schools.com/graphics/tryit.asp?filename=trysvg_polygon
His slides can be downloaded from here.
The meeting was held at the Melbourne Men’s Shed, situated in the Federation Square Car Park building, off Russell St Extension.