home *** CD-ROM | disk | FTP | other *** search
- /* (c) Marietta Systems, Inc. 1987
- * All rights reserved
- *
- * demonstration program for accept function
- */
- #include "mtest.h"
- void main() {
- int m = 0, x = 2, z1;
- byte text[41];
- clr_scrn("Accept test - 3");
- text[0] = 0;
- display("Enter column of centered strings of increasing size",
- 1, 1, high);
- for (z1 = 10 ; z1 < 41 && !m ; z1++, x++) {
- set_crsr(x, 10);
- m = accept(text, center, alt_reverse, z1, 0);
- }
- goodbye(0);
- }