It is possible to describe an example under the keyword example in order to illustrate the usage of an operator. An extension of the keyword specifies the programming language of the example.
example.trias /* Looking for regions with the diameter D: */ mean_image(Imaged,Mean,D*2,D*2) dyn_threshold(Image,Mean,Seg,5,'light') connection(Seg,Objects);
The extension .trias indicates a HDevelop example. Moreover, the extensions .c, .c++, and .c# can be used. The text of the example is processed unmodified, so it must not contain any LaTeX-special characters. The only exception is the semicolon that needs a prefixed backslash, because it would signal the end of the example text otherwise. This must be considered especially for C, C++, and C# examples.