NB. simple runtime example: squareroot
NB. run with command line: system\examples\demo\runtime\runtime.ijs /jrt
NB. simple runtime can load profile
NB. production runtime should be built with Project Manager
NB. /jrt avoids smmfshow

SQUAREROOT=: 0 : 0
pc squareroot;
xywh 7 8 35 9;cc label static;cn "Input:";
xywh 44 7 94 12;cc input edit ws_border;
xywh 7 28 35 9;cc label static;cn "Square root:";
xywh 44 27 94 12;cc output edit ws_border es_autohscroll es_readonly;
pas 7 7;pcenter;
rem form end;
)

squareroot_close=: 3 : 'wd''pclose'''

squareroot_input_button=: 3 : 0
wd 'setselect input;set output *', ":%: 0 ".input
)

wd SQUAREROOT,'picon system\examples\data\jy.ico 0;pshow'
