b45d9da974b38a3618db8e89252a63845e22555e
2 * SCREEN.C - screen internal command.
4 * clone from 4nt msgbox command
7 * started - Paolo Pantaleo <paolopan@freemail.it>
9 * 30-Apr-2005 (Magnus Olsen <magnus@greatlord.com>)
10 * Remove all hardcoded strings in En.rc
16 #ifdef INCLUDE_CMD_SCREEN
19 INT
CommandScreen (LPTSTR param
)
22 BOOL bSkipText
= FALSE
;
24 if (_tcsncmp (param
, _T("/?"), 2) == 0)
26 ConOutResPaging(TRUE
,STRING_SCREEN_HELP
);
33 while(_istspace(*param
))
38 error_req_param_missing ();
43 if (y
<0 || y
>(maxy
-1))
45 ConOutResPuts(STRING_SCREEN_ROW
);
51 if (!(param
= _tcschr(param
,_T(' '))))
53 error_req_param_missing ();
57 while(_istspace(*param
))
62 error_req_param_missing ();
67 if (x
<0 || x
>(maxx
-1))
69 ConErrResPuts(STRING_SCREEN_COL
);
74 if (!(param
= _tcschr(param
,_T(' '))))
80 while(_istspace(*param
))
103 #endif /* INCLUDE_CMD_SCREEN */