Parameter Script/Macro
Posted: Fri Feb 07, 2020 1:55 pm
Hello, everybody,
can someone explain to me with an example how to use the script function?
can someone explain to me with an example how to use the script function?
Code: Select all
int a = 5;
int b = 10;
int p = Par1;
switch(p/10)
{
case 1:
return p * a;
case 2:
return p * b;
default:
return 100;
}