[ESCAPE_CHAR]
^
[END]

[APPEARANCE]
COLOR = 255, 100, 100;
SIZE_X = 8;
SIZE_Y =4;
[END]

[INTERFACE]
DIALOG, "Открсс", 370, 102;
BUTTON_OK, "Принять", 159, 50, 100, 25;
BUTTON_CANCEL, "Закрыть", 262, 50, 100, 25;
STATIC, "Указатель на окно", 10, 10, 120, 18;
EDIT, 135, 8, 220, 18, win Win;
STATIC, "Переменная", 10, 30, 90, 18;
EDIT_WRITE_RETURN, 100, 30, 70, 18, int Return;
[END]

[ASSOC_NUMBER]
Win
[END]

[ASSOC_VAR]
Win = window ("Калькулятор", "CalcFrame", -1);
Return = Proc;
W=#win~*~;
[END]

[GLOBAL_VAR]
win win~*~ = ~Win~;
int ~Return~;
[END]


[FUNCTION_BODY]
function (win #w)
{
return openprocess(w);
}
[END]

[CALL]
(W)
[END]



