Complete process control

  • Complete flow control, including the branch judgment and loop statement, nested multiple branches, and multiple recursions.
  • The logic control is implemented with a language similar to BASIC. Compared with JAVA/C++ and other high level languages, the language of esProc requires a far lower knowledge level to start learning.
A B C
1
[35,23,41,52,98,32,56,76,81,31]
Bubble sort algorithm
2 for =A1.pselect(~<~[1]) External loop
3 if B2==0
break
Switch out of the loop
4 for B2>0 =A1(B2) Swap the menber during inner loop
5 >A1(B2)=A1(B2+1)
6 >A1(B2+1)=C4
7 >B2=A1.pselect(~<~[1],B2+1)