On 20 Nov 2005, at 21:13, James Hunkins wrote: > Hi George, > > I tried take a quick look for now but couldn't see the source code > for this example. I presume the ex1.z was a compressed version of > the source? >
The source code for ex1 is the file ex1_z. The point of the headers and programs in CPTR is to allow a C program to set up a PE window definition from which the appropriate working definition can be set up by the PE software. The file ex1_z is similar to a straight _c file but contains specially coded items which will be turned into the word pointers needed in the window definition by the application of a simple program which both gives a _c file as output and calculates the sizes of each possible working definition. As far as the code for setting up the application menu is concerned it is the same in the _z file as in the resulting _c file. George _______________________________________________ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
