Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The first example we will develop is minimal: a “micro” blogging application. It is stripped down so that all it can do is display an About box, but it will show you the principles of building a wxErlang application. In the next section, you’ll see how to add the blogging functionality.
Our program is given in one file, microblog.erl, which begins like this:[33]
[33] In releases before R13, this needs to be an explicit include of the wx.hrl file.