Command line
- File name
A name of a script.
- /RUN
Run a loaded script right away after the start of the program.
- /PASCAL
Set a language as PascalScript.
- /CPP
Set a language as C++Script.
- /JS
Set a language as JavaScript.
- /VB
Set a language as BasicScript.
You can get an access to all other parameters in a script with functions ParamCount and ParamStr.
dbfscript.exe test-param.dbfscr /RUN filename.dbf /param1 /param2 /paramN
var
i :integer;
begin
for i := 0 to ParamCount-1 do
writeln( ParamStr(i) );
end.
|