CS
CmdFunc a.k.a Batch Script
The basics
You can run batch scripts while they are compiled and use the results.
ums $out as CS :"
public int Main()
{
return 2+5;
}
";
Output Type
$out(
Stderr -> Error value [True, false]
isTimeout -> Tiemout [bool]
Stdin -> Your input [String]
Stdout -> Output of your execute [Object]
Stopwatch -> Time of your execute [Stopwatch]
)
USAGE_
$VarName!Property!
EXAMPLE_
$out!Stdout!
\-> 7
$out!Stopwatch.Elapsed!
\-> 00:00:00.0006700
Example
ums $out as CS :"
public int Main()
{
return 2+5;
}
";
msg $out!Stdout!
//Coded with BH Beta 0.3.1
7
Last updated