 | | Wide Studio Programmer's Guide
| |
Sample:4 (A calculator)
This is a demonstration of calcurator using by the array of the buttons.
The source code is ws/samples/EE/labelwork/wscalc.prj.
Please load it and build it by the application builder.
this sample shows the following things.
- To demonstrate calicurating with the operator:+,-,/,*
(Notice)The specification of the calicurator is not strict.

[A view of the application window]
- The number button
Input the number to the indicator.
- The operator button
Stores the operator if the button is "+","-","/","*",
Calculates by the stored information if the button is "=",
- The other
The resize event procedure adjusts size/place of the buttons when
the window is resized.
Document Release 1.3 For Use with Wide Studio Release 1.3, Summer 2001 Wide Stuido Home | Up to Copyright(C) T. Hirabayashi, 2000-2001 | | Last modified: August 20, 2001 | |