EDIT PROGRAMEdit the program written in area edit program, see below figura:

You can edit max 32 or more programs. See a example:
? time()
? date()
? ' *** WHILE *** '
x=1
while x<=3
? x
x=x+1
endwhile
do today
? ' *** IF *** '
x=4
IF x>2
? 'if 2 is true'
ELSE
? 'if else'
ENDIF
? ' *** DOCASE *** '
x=23
DOCASE
case x>40
? 'case > 40'
otherwise
? 'case otherwise'
ENDCASE
? ' *** FOR *** '
FOR x=1 to 10 step 1
? x
ENDFOR
return
function today
? 'To day is: '+DTOC(date())
return
This program saved to disk with name: prg1.ppr

After that, you can compiler by click button , when compiler dialog show, click button [Compiler]:

Program after compiler will have name: prg1.xpr
You has 2 method do this prgogram:
In command editor, you type command line:
- Method 1:
do prg1
- Method 2:
? prg1()
See result viewer.

View more...
Understand uses program in VX+
Now, VX+ support for you 2 html tag to run a program in server from remote.
1. Run private tag in datatable:
Run tag script command in private datatable from remote.
? html("<runtag alias=demo;tag=body;password=admin; />")
Run sub tag script command in private datatable from remote.
? html("<runtag alias=demo;tag=body;sub=subscene;password=admin; />")
2. Run a public program:
Run a public command (it coding by admin used) from remote.
? html("<run program=name;parameters=...;password=admin; />")
* Important, to run a program in server you need password to adminstrator.