#include #include int contrl[12]; int intin[128]; int ptsin[128]; int intout[128]; int ptsout[128]; int work_in[11]; int work_out[57]; int SwApplId; int SwVdi; /*-------------------------------------- * alert */ void alert() { form_alert(1,"[3][| Hello world ][ OK ]"); } /*-------------------------------------- * main */ main() { int swX, swY, swW, swH; char ub; if ((SwApplId = appl_init()) == -1) { return (0); } SwVdi = graf_handle(&swX, &swY, &swW, &swH); for (ub = 0; ub < 10; ub++)work_in[ub] = 1; work_in[10] = 2; v_opnvwk(work_in, &SwVdi, work_out); if (SwVdi) { alert(); } v_clsvwk(SwVdi); appl_exit(); }