User guide

eWON 500-2001-4001-4002 User Guide - Programming the eWON
eWON 500®2001®4001®4002® Version 4_3_0 - User Guide - 10/5/05 - ©ACT'L sa - Page 123
Figure 75: eWON cyclic section code
If you download the corresponding program.bas file using an FTP client (see “FTP transfer” on page 120), you will obtain the following program:
rem --- eWON start section: MY NEW SECTION
rem --- eWON user (start)
MyNewSection:
MyVar=0
pRINT "MyVar is Reset"
rem --- eWON user (end)
end
rem --- eWON end section: MY NEW SECTION
rem --- eWON start section: Cyclic Section
ewon_cyclic_section:
rem --- eWON user (start)
fOR V%=0 tO 10
MyVar=MyVar+1
nEXT V%
pRINT MyVar
rem --- eWON user (end)
end
rem --- eWON end section: Cyclic Section
rem --- eWON start section: Init Section
ewon_init_section:
rem --- eWON user (start)
CLS
M
yVar=0
rem --- eWON user (end)
end
rem --- eWON end section: Init Section