Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,12 +1,12 @@
|
|||
import extensions;
|
||||
import extensions'scripting;
|
||||
|
||||
public program()
|
||||
public Program()
|
||||
{
|
||||
var text := program_arguments[1];
|
||||
var arg := program_arguments[2];
|
||||
var text := Program_arguments[1];
|
||||
var arg := Program_arguments[2];
|
||||
|
||||
var program := lscript.interpretLine(text);
|
||||
console.printLine(
|
||||
var program := LScript.interpretLine(text);
|
||||
Console.printLine(
|
||||
text,",",arg," = ",program.eval(arg.toReal()));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
prog: [x * 2]
|
||||
fn: func [x] [do bind prog 'x]
|
||||
a: fn 2
|
||||
b: fn 4
|
||||
subtract b a
|
||||
Loading…
Add table
Add a link
Reference in a new issue