summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--combined.js376
-rw-r--r--js/Branching/CLKFROM.js4
-rw-r--r--js/Branching/MUX.js4
-rw-r--r--js/Branching/MUX_f.js4
-rw-r--r--js/Branching/SELF_SWITCH.js4
-rw-r--r--js/Electrical/CCS.js4
-rw-r--r--js/Electrical/CVS.js4
-rw-r--r--js/Electrical/ConstantVoltage.js4
-rw-r--r--js/Electrical/CurrentSensor.js4
-rw-r--r--js/Electrical/Ground.js4
-rw-r--r--js/Electrical/Inductor.js4
-rw-r--r--js/Electrical/MOTOR.js4
-rw-r--r--js/Electrical/PotentialSensor.js4
-rw-r--r--js/Electrical/Resistor.js4
-rw-r--r--js/Electrical/VariableResistor.js4
-rw-r--r--js/Electrical/VoltageSensor.js4
-rw-r--r--js/Events/ANDBLK.js4
-rw-r--r--js/Events/ANDLOG_f.js4
-rw-r--r--js/Events/CLKSOMV_f.js4
-rw-r--r--js/Events/CLKSOM_f.js4
-rw-r--r--js/Events/CLKSPLIT_f.js4
-rw-r--r--js/Events/EVTVARDLY.js4
-rw-r--r--js/Events/MCLOCK_f.js4
-rw-r--r--js/Events/VirtualCLK0.js4
-rw-r--r--js/Hydraulics/Flowmeter.js4
-rw-r--r--js/IntegerOp/DFLIPFLOP.js4
-rw-r--r--js/IntegerOp/DLATCH.js4
-rw-r--r--js/IntegerOp/JKFLIPFLOP.js4
-rw-r--r--js/IntegerOp/SRFLIPFLOP.js4
-rw-r--r--js/Linear/BIGSOM_f.js4
-rw-r--r--js/Linear/CLINDUMMY_f.js4
-rw-r--r--js/Linear/DERIV.js4
-rw-r--r--js/Linear/INTEGRAL_f.js4
-rw-r--r--js/Linear/REGISTER_f.js4
-rw-r--r--js/Linear/SAMPHOLD.js4
-rw-r--r--js/Linear/SAMPLEHOLD_f.js4
-rw-r--r--js/Linear/SOM_f.js4
-rw-r--r--js/Linear/SUM_f.js4
-rw-r--r--js/MatrixOp/MATZCONJ.js4
-rw-r--r--js/Misc/AUTOMAT.js4
-rw-r--r--js/Misc/CONSTRAINT_c.js4
-rw-r--r--js/Misc/DEBUG.js4
-rw-r--r--js/Misc/DEBUG_SCICOS.js4
-rw-r--r--js/Misc/DSUPER.js4
-rw-r--r--js/Misc/EDGE_TRIGGER.js4
-rw-r--r--js/Misc/ENDBLK.js4
-rw-r--r--js/Misc/Extract_Activation.js4
-rw-r--r--js/Misc/IMPSPLIT_f.js4
-rw-r--r--js/Misc/MPBLOCK.js4
-rw-r--r--js/Misc/PAL_f.js4
-rw-r--r--js/Misc/SPLIT_f.js4
-rw-r--r--js/Misc/SUPER_f.js4
-rw-r--r--js/Misc/func_block.js4
-rw-r--r--js/NonLinear/ABSBLK_f.js4
-rw-r--r--js/NonLinear/COSBLK_f.js4
-rw-r--r--js/NonLinear/EXPBLK_f.js4
-rw-r--r--js/NonLinear/EXPBLK_m.js4
-rw-r--r--js/NonLinear/FSV_f.js4
-rw-r--r--js/NonLinear/INVBLK.js4
-rw-r--r--js/NonLinear/INVBLK_f.js4
-rw-r--r--js/NonLinear/LOGBLK_f.js4
-rw-r--r--js/NonLinear/LOOKUP_f.js4
-rw-r--r--js/NonLinear/MAX_f.js4
-rw-r--r--js/NonLinear/MIN_f.js4
-rw-r--r--js/NonLinear/POWBLK_f.js4
-rw-r--r--js/NonLinear/PRODUCT.js4
-rw-r--r--js/NonLinear/PROD_f.js4
-rw-r--r--js/NonLinear/SINBLK_f.js4
-rw-r--r--js/NonLinear/TANBLK_f.js4
-rw-r--r--js/NonLinear/TrigFun.js4
-rw-r--r--js/PDE/PDE.js4
-rw-r--r--js/Sinks/CLKOUTV_f.js4
-rw-r--r--js/Sinks/CLKOUT_f.js4
-rw-r--r--js/Sinks/OUTIMPL_f.js4
-rw-r--r--js/Sinks/OUT_f.js4
-rw-r--r--js/Sinks/TRASH_f.js4
-rw-r--r--js/Sources/CLKINV_f.js4
-rw-r--r--js/Sources/CLKIN_f.js4
-rw-r--r--js/Sources/CONST.js4
-rw-r--r--js/Sources/CONST_f.js4
-rw-r--r--js/Sources/CONST_m.js4
-rw-r--r--js/Sources/CURV_f.js4
-rw-r--r--js/Sources/FROMWSB.js4
-rw-r--r--js/Sources/GEN_SQR.js4
-rw-r--r--js/Sources/Ground_g.js4
-rw-r--r--js/Sources/INIMPL_f.js4
-rw-r--r--js/Sources/IN_f.js4
-rw-r--r--js/Sources/PULSE_SC.js4
-rw-r--r--js/Sources/SAWTOOTH_f.js4
-rw-r--r--js/Sources/STEP_FUNCTION.js4
-rw-r--r--js/Sources/Sigbuilder.js4
-rw-r--r--js/Sources/TIME_f.js4
-rw-r--r--js/Threshold/NEGTOPOS_f.js4
-rw-r--r--js/Threshold/POSTONEG_f.js4
-rw-r--r--js/Threshold/ZCROSS_f.js4
-rwxr-xr-xsci2jsyacc.py5
96 files changed, 192 insertions, 565 deletions
diff --git a/combined.js b/combined.js
index 2ba925e5..30cacd14 100644
--- a/combined.js
+++ b/combined.js
@@ -17,9 +17,7 @@ function CLKFROM() {
return this.x;
}
CLKFROM.prototype.get = function CLKFROM() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CLKFROM.prototype.set = function CLKFROM() {
this.exprs = this.graphics.exprs;
@@ -949,9 +947,7 @@ function MUX() {
return this.x;
}
MUX.prototype.get = function MUX() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
MUX.prototype.set = function MUX() {
this.exprs = this.graphics.exprs;
@@ -1022,9 +1018,7 @@ function MUX_f() {
return this.x;
}
MUX_f.prototype.get = function MUX_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
MUX_f.prototype.set = function MUX_f() {
this.exprs = this.graphics.exprs;
@@ -1476,9 +1470,7 @@ function SELF_SWITCH() {
return this.x;
}
SELF_SWITCH.prototype.get = function SELF_SWITCH() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
SELF_SWITCH.prototype.set = function SELF_SWITCH() {
this.stateOpen = this.x.model.opar[1-1];
@@ -1766,9 +1758,7 @@ function CCS() {
return this.x;
}
CCS.prototype.get = function CCS() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CCS.prototype.set = function CCS() {
this.exprs = this.graphics.exprs;
@@ -1830,9 +1820,7 @@ function CVS() {
return this.x;
}
CVS.prototype.get = function CVS() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CVS.prototype.set = function CVS() {
this.exprs = this.graphics.exprs;
@@ -1922,9 +1910,7 @@ function ConstantVoltage() {
return this.x;
}
ConstantVoltage.prototype.get = function ConstantVoltage() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
ConstantVoltage.prototype.set = function ConstantVoltage() {
this.exprs = this.graphics.exprs;
@@ -1970,9 +1956,7 @@ function CurrentSensor() {
return this.x;
}
CurrentSensor.prototype.get = function CurrentSensor() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CurrentSensor.prototype.set = function CurrentSensor() {
return new BasicBlock(this.x);
@@ -2063,9 +2047,7 @@ function Ground() {
return this.x;
}
Ground.prototype.get = function Ground() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
Ground.prototype.set = function Ground() {
return new GroundBlock(this.x);
@@ -2255,9 +2237,7 @@ function Inductor() {
return this.x;
}
Inductor.prototype.get = function Inductor() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
Inductor.prototype.set = function Inductor() {
this.exprs = this.graphics.exprs;
@@ -2298,9 +2278,7 @@ function MOTOR() {
return this.x;
}
MOTOR.prototype.get = function MOTOR() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
MOTOR.prototype.set = function MOTOR() {
return new BasicBlock(this.x);
@@ -2753,9 +2731,7 @@ function PotentialSensor() {
return this.x;
}
PotentialSensor.prototype.get = function PotentialSensor() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
PotentialSensor.prototype.set = function PotentialSensor() {
return new BasicBlock(this.x);
@@ -2789,9 +2765,7 @@ function Resistor() {
return this.x;
}
Resistor.prototype.get = function Resistor() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
Resistor.prototype.set = function Resistor() {
this.exprs = this.graphics.exprs;
@@ -3010,9 +2984,7 @@ function VariableResistor() {
return this.x;
}
VariableResistor.prototype.get = function VariableResistor() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
VariableResistor.prototype.set = function VariableResistor() {
return new BasicBlock(this.x);
@@ -3043,9 +3015,7 @@ function VoltageSensor() {
return this.x;
}
VoltageSensor.prototype.get = function VoltageSensor() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
VoltageSensor.prototype.set = function VoltageSensor() {
return new VoltageSensorBlock(this.x);
@@ -3179,9 +3149,7 @@ function ANDBLK() {
return this.x;
}
ANDBLK.prototype.get = function ANDBLK() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
ANDBLK.prototype.set = function ANDBLK() {
return new BasicBlock(this.x);
@@ -3205,9 +3173,7 @@ function ANDLOG_f() {
return this.x;
}
ANDLOG_f.prototype.get = function ANDLOG_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
ANDLOG_f.prototype.set = function ANDLOG_f() {
return new BasicBlock(this.x);
@@ -3231,9 +3197,7 @@ function CLKSOMV_f() {
return this.x;
}
CLKSOMV_f.prototype.get = function CLKSOMV_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CLKSOMV_f.prototype.set = function CLKSOMV_f() {
return new BasicBlock(this.x);
@@ -3257,9 +3221,7 @@ function CLKSOM_f() {
return this.x;
}
CLKSOM_f.prototype.get = function CLKSOM_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CLKSOM_f.prototype.set = function CLKSOM_f() {
return new BasicBlock(this.x);
@@ -3282,9 +3244,7 @@ function CLKSPLIT_f() {
return this.x;
}
CLKSPLIT_f.prototype.get = function CLKSPLIT_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CLKSPLIT_f.prototype.set = function CLKSPLIT_f() {
return new BasicBlock(this.x);
@@ -3508,9 +3468,7 @@ function EVTVARDLY() {
return this.x;
}
EVTVARDLY.prototype.get = function EVTVARDLY() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
EVTVARDLY.prototype.set = function EVTVARDLY() {
this.exprs = this.graphics.exprs;
@@ -3721,9 +3679,7 @@ function MCLOCK_f() {
return this.x;
}
MCLOCK_f.prototype.get = function MCLOCK_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
MCLOCK_f.prototype.set = function MCLOCK_f() {
if (typeof(o)=="Block"&&o.gui=="MFCLCK_f") {
@@ -3893,9 +3849,7 @@ function VirtualCLK0() {
return this.x;
}
VirtualCLK0.prototype.get = function VirtualCLK0() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
VirtualCLK0.prototype.set = function VirtualCLK0() {
return new BasicBlock(this.x);
@@ -4240,9 +4194,7 @@ function Flowmeter() {
return this.x;
}
Flowmeter.prototype.get = function Flowmeter() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
Flowmeter.prototype.set = function Flowmeter() {
this.exprs = this.graphics.exprs;
@@ -5178,9 +5130,7 @@ function DFLIPFLOP() {
return this.x;
}
DFLIPFLOP.prototype.get = function DFLIPFLOP() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
DFLIPFLOP.prototype.set = function DFLIPFLOP() {
return new BasicBlock(this.x);
@@ -5229,9 +5179,7 @@ function DLATCH() {
return this.x;
}
DLATCH.prototype.get = function DLATCH() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
DLATCH.prototype.set = function DLATCH() {
return new BasicBlock(this.x);
@@ -5652,9 +5600,7 @@ function JKFLIPFLOP() {
return this.x;
}
JKFLIPFLOP.prototype.get = function JKFLIPFLOP() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
JKFLIPFLOP.prototype.set = function JKFLIPFLOP() {
if (typeof(o)=="Block"&&o.gui=="DOLLAR_m") {
@@ -5944,9 +5890,7 @@ function SRFLIPFLOP() {
return this.x;
}
SRFLIPFLOP.prototype.get = function SRFLIPFLOP() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
SRFLIPFLOP.prototype.set = function SRFLIPFLOP() {
if (typeof(o)=="Block"&&o.gui=="DOLLAR_m") {
@@ -6007,9 +5951,7 @@ function BIGSOM_f() {
return this.x;
}
BIGSOM_f.prototype.get = function BIGSOM_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
BIGSOM_f.prototype.set = function BIGSOM_f() {
this.exprs = this.graphics.exprs;
@@ -6054,9 +5996,7 @@ function CLINDUMMY_f() {
return this.x;
}
CLINDUMMY_f.prototype.get = function CLINDUMMY_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CLINDUMMY_f.prototype.set = function CLINDUMMY_f() {
return new BasicBlock(this.x);
@@ -6667,9 +6607,7 @@ function DERIV() {
return this.x;
}
DERIV.prototype.get = function DERIV() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
DERIV.prototype.set = function DERIV() {
return new BasicBlock(this.x);
@@ -7774,9 +7712,7 @@ function INTEGRAL_f() {
return this.x;
}
INTEGRAL_f.prototype.get = function INTEGRAL_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
INTEGRAL_f.prototype.set = function INTEGRAL_f() {
this.exprs = this.graphics.exprs;
@@ -8168,9 +8104,7 @@ function REGISTER_f() {
return this.x;
}
REGISTER_f.prototype.get = function REGISTER_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
REGISTER_f.prototype.set = function REGISTER_f() {
this.exprs = this.graphics.exprs;
@@ -8215,9 +8149,7 @@ function SAMPHOLD() {
return this.x;
}
SAMPHOLD.prototype.get = function SAMPHOLD() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
SAMPHOLD.prototype.set = function SAMPHOLD() {
this.x.model.firing = [];
@@ -8300,9 +8232,7 @@ function SAMPLEHOLD_f() {
return this.x;
}
SAMPLEHOLD_f.prototype.get = function SAMPLEHOLD_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
SAMPLEHOLD_f.prototype.set = function SAMPLEHOLD_f() {
this.x.model.firing = [];
@@ -8329,9 +8259,7 @@ function SOM_f() {
return this.x;
}
SOM_f.prototype.get = function SOM_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
SOM_f.prototype.set = function SOM_f() {
this.exprs = this.graphics.exprs;
@@ -8520,9 +8448,7 @@ function SUM_f() {
return this.x;
}
SUM_f.prototype.get = function SUM_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
SUM_f.prototype.set = function SUM_f() {
return new BasicBlock(this.x);
@@ -10689,9 +10615,7 @@ function MATZCONJ() {
return this.x;
}
MATZCONJ.prototype.get = function MATZCONJ() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
MATZCONJ.prototype.set = function MATZCONJ() {
return new BasicBlock(this.x);
@@ -11128,9 +11052,7 @@ function AUTOMAT() {
return this.x;
}
AUTOMAT.prototype.get = function AUTOMAT() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
AUTOMAT.prototype.set = function AUTOMAT() {
this.exprs = this.graphics.exprs;
@@ -12047,9 +11969,7 @@ function CONSTRAINT_c() {
return this.x;
}
CONSTRAINT_c.prototype.get = function CONSTRAINT_c() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CONSTRAINT_c.prototype.set = function CONSTRAINT_c() {
this.exprs = this.graphics.exprs;
@@ -12162,9 +12082,7 @@ function DEBUG() {
return this.x;
}
DEBUG.prototype.get = function DEBUG() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
DEBUG.prototype.set = function DEBUG() {
this.exprs = this.graphics.exprs;
@@ -12210,9 +12128,7 @@ function DEBUG_SCICOS() {
return this.x;
}
DEBUG_SCICOS.prototype.get = function DEBUG_SCICOS() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
DEBUG_SCICOS.prototype.set = function DEBUG_SCICOS() {
this.x = tmpvar0[0];
@@ -12276,9 +12192,7 @@ function DSUPER() {
return this.x;
}
DSUPER.prototype.get = function DSUPER() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
DSUPER.prototype.set = function DSUPER() {
var y = this.needcompile;
@@ -12454,9 +12368,7 @@ function EDGE_TRIGGER() {
return this.x;
}
EDGE_TRIGGER.prototype.get = function EDGE_TRIGGER() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
EDGE_TRIGGER.prototype.set = function EDGE_TRIGGER() {
if (typeof(o)=="Block"&&o.gui=="EDGETRIGGER") {
@@ -12539,9 +12451,7 @@ function ENDBLK() {
return this.x;
}
ENDBLK.prototype.get = function ENDBLK() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
ENDBLK.prototype.set = function ENDBLK() {
if (typeof(o)=="Block"&&o.gui=="END_c") {
@@ -12701,9 +12611,7 @@ function Extract_Activation() {
return this.x;
}
Extract_Activation.prototype.get = function Extract_Activation() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
Extract_Activation.prototype.set = function Extract_Activation() {
return new BasicBlock(this.x);
@@ -12794,9 +12702,7 @@ function IMPSPLIT_f() {
return this.x;
}
IMPSPLIT_f.prototype.get = function IMPSPLIT_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
IMPSPLIT_f.prototype.set = function IMPSPLIT_f() {
return new BasicBlock(this.x);
@@ -13336,9 +13242,7 @@ function MPBLOCK() {
return this.x;
}
MPBLOCK.prototype.get = function MPBLOCK() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
MPBLOCK.prototype.set = function MPBLOCK() {
this.exprs = this.graphics.exprs;
@@ -13602,9 +13506,7 @@ function PAL_f() {
return this.x;
}
PAL_f.prototype.get = function PAL_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
PAL_f.prototype.set = function PAL_f() {
this.x = tmpvar0[0];
@@ -13872,9 +13774,7 @@ function SPLIT_f() {
return this.x;
}
SPLIT_f.prototype.get = function SPLIT_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
SPLIT_f.prototype.set = function SPLIT_f() {
return new BasicBlock(this.x);
@@ -13908,9 +13808,7 @@ function SUPER_f() {
return this.x;
}
SUPER_f.prototype.get = function SUPER_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
SUPER_f.prototype.set = function SUPER_f() {
return new SuperBlock(this.x);
@@ -14183,9 +14081,7 @@ function func_block() {
return this.x;
}
func_block.prototype.get = function func_block() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
func_block.prototype.set = function func_block() {
this.exprs = this.graphics.exprs;
@@ -14867,9 +14763,7 @@ function ABSBLK_f() {
return this.x;
}
ABSBLK_f.prototype.get = function ABSBLK_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
ABSBLK_f.prototype.set = function ABSBLK_f() {
return new BasicBlock(this.x);
@@ -14945,9 +14839,7 @@ function COSBLK_f() {
return this.x;
}
COSBLK_f.prototype.get = function COSBLK_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
COSBLK_f.prototype.set = function COSBLK_f() {
return new BasicBlock(this.x);
@@ -15050,9 +14942,7 @@ function EXPBLK_f() {
return this.x;
}
EXPBLK_f.prototype.get = function EXPBLK_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
EXPBLK_f.prototype.set = function EXPBLK_f() {
this.exprs = this.graphics.exprs;
@@ -15104,9 +14994,7 @@ function EXPBLK_m() {
return this.x;
}
EXPBLK_m.prototype.get = function EXPBLK_m() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
EXPBLK_m.prototype.set = function EXPBLK_m() {
this.exprs = this.graphics.exprs;
@@ -15152,9 +15040,7 @@ function FSV_f() {
return this.x;
}
FSV_f.prototype.get = function FSV_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
FSV_f.prototype.set = function FSV_f() {
return new BasicBlock(this.x);
@@ -15292,9 +15178,7 @@ function INVBLK() {
return this.x;
}
INVBLK.prototype.get = function INVBLK() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
INVBLK.prototype.set = function INVBLK() {
return new BasicBlock(this.x);
@@ -15319,9 +15203,7 @@ function INVBLK_f() {
return this.x;
}
INVBLK_f.prototype.get = function INVBLK_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
INVBLK_f.prototype.set = function INVBLK_f() {
return new BasicBlock(this.x);
@@ -15348,9 +15230,7 @@ function LOGBLK_f() {
return this.x;
}
LOGBLK_f.prototype.get = function LOGBLK_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
LOGBLK_f.prototype.set = function LOGBLK_f() {
this.exprs = this.graphics.exprs;
@@ -15696,9 +15576,7 @@ function LOOKUP_f() {
return this.x;
}
LOOKUP_f.prototype.get = function LOOKUP_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
LOOKUP_f.prototype.set = function LOOKUP_f() {
this.exprs = this.graphics.exprs;
@@ -15839,9 +15717,7 @@ function MAX_f() {
return this.x;
}
MAX_f.prototype.get = function MAX_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
MAX_f.prototype.set = function MAX_f() {
return new BasicBlock(this.x);
@@ -15867,9 +15743,7 @@ function MIN_f() {
return this.x;
}
MIN_f.prototype.get = function MIN_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
MIN_f.prototype.set = function MIN_f() {
return new BasicBlock(this.x);
@@ -15896,9 +15770,7 @@ function POWBLK_f() {
return this.x;
}
POWBLK_f.prototype.get = function POWBLK_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
POWBLK_f.prototype.set = function POWBLK_f() {
this.exprs = this.graphics.exprs;
@@ -15948,9 +15820,7 @@ function PRODUCT() {
return this.x;
}
PRODUCT.prototype.get = function PRODUCT() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
PRODUCT.prototype.set = function PRODUCT() {
this.exprs = this.graphics.exprs;
@@ -16017,9 +15887,7 @@ function PROD_f() {
return this.x;
}
PROD_f.prototype.get = function PROD_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
PROD_f.prototype.set = function PROD_f() {
return new BasicBlock(this.x);
@@ -16280,9 +16148,7 @@ function SINBLK_f() {
return this.x;
}
SINBLK_f.prototype.get = function SINBLK_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
SINBLK_f.prototype.set = function SINBLK_f() {
return new BasicBlock(this.x);
@@ -16307,9 +16173,7 @@ function TANBLK_f() {
return this.x;
}
TANBLK_f.prototype.get = function TANBLK_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
TANBLK_f.prototype.set = function TANBLK_f() {
this.x.model.firing = [];
@@ -16334,9 +16198,7 @@ function TrigFun() {
return this.x;
}
TrigFun.prototype.get = function TrigFun() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
TrigFun.prototype.set = function TrigFun() {
this.exprs = this.graphics.exprs;
@@ -16382,9 +16244,7 @@ function PDE() {
return this.x;
}
PDE.prototype.get = function PDE() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
PDE.prototype.set = function PDE() {
var label = this.graphics.exprs;
@@ -17267,9 +17127,7 @@ function CLKOUTV_f() {
return this.x;
}
CLKOUTV_f.prototype.get = function CLKOUTV_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CLKOUTV_f.prototype.set = function CLKOUTV_f() {
this.exprs = this.graphics.exprs;
@@ -17367,9 +17225,7 @@ function CLKOUT_f() {
return this.x;
}
CLKOUT_f.prototype.get = function CLKOUT_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CLKOUT_f.prototype.set = function CLKOUT_f() {
this.exprs = this.graphics.exprs;
@@ -18120,9 +17976,7 @@ function OUTIMPL_f() {
return this.x;
}
OUTIMPL_f.prototype.get = function OUTIMPL_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
OUTIMPL_f.prototype.set = function OUTIMPL_f() {
this.exprs = this.graphics.exprs;
@@ -18176,9 +18030,7 @@ function OUT_f() {
return this.x;
}
OUT_f.prototype.get = function OUT_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
OUT_f.prototype.set = function OUT_f() {
this.exprs = this.graphics.exprs;
@@ -18303,9 +18155,7 @@ function TRASH_f() {
return this.x;
}
TRASH_f.prototype.get = function TRASH_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
TRASH_f.prototype.set = function TRASH_f() {
return new BasicBlock(this.x);
@@ -18619,9 +18469,7 @@ function CLKINV_f() {
return this.x;
}
CLKINV_f.prototype.get = function CLKINV_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CLKINV_f.prototype.set = function CLKINV_f() {
this.exprs = this.graphics.exprs;
@@ -18668,9 +18516,7 @@ function CLKIN_f() {
return this.x;
}
CLKIN_f.prototype.get = function CLKIN_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CLKIN_f.prototype.set = function CLKIN_f() {
this.exprs = this.graphics.exprs;
@@ -18916,9 +18762,7 @@ function CONST() {
return this.x;
}
CONST.prototype.get = function CONST() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CONST.prototype.set = function CONST() {
this.exprs = this.graphics.exprs;
@@ -18967,9 +18811,7 @@ function CONST_f() {
return this.x;
}
CONST_f.prototype.get = function CONST_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CONST_f.prototype.set = function CONST_f() {
this.exprs = this.graphics.exprs;
@@ -19018,9 +18860,7 @@ function CONST_m() {
return this.x;
}
CONST_m.prototype.get = function CONST_m() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CONST_m.prototype.set = function CONST_m() {
this.exprs = this.graphics.exprs;
@@ -19267,9 +19107,7 @@ function CURV_f() {
return this.x;
}
CURV_f.prototype.get = function CURV_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CURV_f.prototype.set = function CURV_f() {
var rpar = this.model.rpar;
@@ -19389,9 +19227,7 @@ function FROMWSB() {
return this.x;
}
FROMWSB.prototype.get = function FROMWSB() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
FROMWSB.prototype.set = function FROMWSB() {
if (typeof(o)=="Block"&&o.gui=="FROMWS_c") {
@@ -19708,9 +19544,7 @@ function GEN_SQR() {
return this.x;
}
GEN_SQR.prototype.get = function GEN_SQR() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
GEN_SQR.prototype.set = function GEN_SQR() {
var y = this.needcompile;
@@ -19781,9 +19615,7 @@ function Ground_g() {
return this.x;
}
Ground_g.prototype.get = function Ground_g() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
Ground_g.prototype.set = function Ground_g() {
return new BasicBlock(this.x);
@@ -19814,9 +19646,7 @@ function INIMPL_f() {
return this.x;
}
INIMPL_f.prototype.get = function INIMPL_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
INIMPL_f.prototype.set = function INIMPL_f() {
this.exprs = this.graphics.exprs;
@@ -19869,9 +19699,7 @@ function IN_f() {
return this.x;
}
IN_f.prototype.get = function IN_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
IN_f.prototype.set = function IN_f() {
this.exprs = this.graphics.exprs;
@@ -20024,9 +19852,7 @@ function PULSE_SC() {
return this.x;
}
PULSE_SC.prototype.get = function PULSE_SC() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
PULSE_SC.prototype.set = function PULSE_SC() {
var y = this.needcompile;
@@ -20676,9 +20502,7 @@ function SAWTOOTH_f() {
return this.x;
}
SAWTOOTH_f.prototype.get = function SAWTOOTH_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
SAWTOOTH_f.prototype.set = function SAWTOOTH_f() {
return new BasicBlock(this.x);
@@ -20820,9 +20644,7 @@ function STEP_FUNCTION() {
return this.x;
}
STEP_FUNCTION.prototype.get = function STEP_FUNCTION() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
STEP_FUNCTION.prototype.set = function STEP_FUNCTION() {
if (typeof(o)=="Block"&&o.gui=="STEP") {
@@ -20967,9 +20789,7 @@ function Sigbuilder() {
return this.x;
}
Sigbuilder.prototype.get = function Sigbuilder() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
Sigbuilder.prototype.set = function Sigbuilder() {
var ppath = list(0);
@@ -21054,9 +20874,7 @@ function TIME_f() {
return this.x;
}
TIME_f.prototype.get = function TIME_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
TIME_f.prototype.set = function TIME_f() {
return new BasicBlock(this.x);
@@ -21197,9 +21015,7 @@ function NEGTOPOS_f() {
return this.x;
}
NEGTOPOS_f.prototype.get = function NEGTOPOS_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
NEGTOPOS_f.prototype.set = function NEGTOPOS_f() {
this.x.model.firing = -1;
@@ -21227,9 +21043,7 @@ function POSTONEG_f() {
return this.x;
}
POSTONEG_f.prototype.get = function POSTONEG_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
POSTONEG_f.prototype.set = function POSTONEG_f() {
this.x.model.firing = [-1];
@@ -21259,9 +21073,7 @@ function ZCROSS_f() {
return this.x;
}
ZCROSS_f.prototype.get = function ZCROSS_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
ZCROSS_f.prototype.set = function ZCROSS_f() {
this.exprs = this.graphics.exprs;
diff --git a/js/Branching/CLKFROM.js b/js/Branching/CLKFROM.js
index 32c55b6c..45b78966 100644
--- a/js/Branching/CLKFROM.js
+++ b/js/Branching/CLKFROM.js
@@ -17,9 +17,7 @@ function CLKFROM() {
return this.x;
}
CLKFROM.prototype.get = function CLKFROM() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CLKFROM.prototype.set = function CLKFROM() {
this.exprs = this.graphics.exprs;
diff --git a/js/Branching/MUX.js b/js/Branching/MUX.js
index 2c672a94..d6707e7b 100644
--- a/js/Branching/MUX.js
+++ b/js/Branching/MUX.js
@@ -18,9 +18,7 @@ function MUX() {
return this.x;
}
MUX.prototype.get = function MUX() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
MUX.prototype.set = function MUX() {
this.exprs = this.graphics.exprs;
diff --git a/js/Branching/MUX_f.js b/js/Branching/MUX_f.js
index 0ef2fc8f..0e9a2f0e 100644
--- a/js/Branching/MUX_f.js
+++ b/js/Branching/MUX_f.js
@@ -18,9 +18,7 @@ function MUX_f() {
return this.x;
}
MUX_f.prototype.get = function MUX_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
MUX_f.prototype.set = function MUX_f() {
this.exprs = this.graphics.exprs;
diff --git a/js/Branching/SELF_SWITCH.js b/js/Branching/SELF_SWITCH.js
index ff749abe..0fb28e7d 100644
--- a/js/Branching/SELF_SWITCH.js
+++ b/js/Branching/SELF_SWITCH.js
@@ -26,9 +26,7 @@ function SELF_SWITCH() {
return this.x;
}
SELF_SWITCH.prototype.get = function SELF_SWITCH() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
SELF_SWITCH.prototype.set = function SELF_SWITCH() {
this.stateOpen = this.x.model.opar[1-1];
diff --git a/js/Electrical/CCS.js b/js/Electrical/CCS.js
index 236ab983..bcbd2fb2 100644
--- a/js/Electrical/CCS.js
+++ b/js/Electrical/CCS.js
@@ -53,9 +53,7 @@ function CCS() {
return this.x;
}
CCS.prototype.get = function CCS() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CCS.prototype.set = function CCS() {
this.exprs = this.graphics.exprs;
diff --git a/js/Electrical/CVS.js b/js/Electrical/CVS.js
index bf5c66f3..cdac5393 100644
--- a/js/Electrical/CVS.js
+++ b/js/Electrical/CVS.js
@@ -53,9 +53,7 @@ function CVS() {
return this.x;
}
CVS.prototype.get = function CVS() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CVS.prototype.set = function CVS() {
this.exprs = this.graphics.exprs;
diff --git a/js/Electrical/ConstantVoltage.js b/js/Electrical/ConstantVoltage.js
index d8127ea2..bc403a84 100644
--- a/js/Electrical/ConstantVoltage.js
+++ b/js/Electrical/ConstantVoltage.js
@@ -26,9 +26,7 @@ function ConstantVoltage() {
return this.x;
}
ConstantVoltage.prototype.get = function ConstantVoltage() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
ConstantVoltage.prototype.set = function ConstantVoltage() {
this.exprs = this.graphics.exprs;
diff --git a/js/Electrical/CurrentSensor.js b/js/Electrical/CurrentSensor.js
index a3370ccd..f70e369b 100644
--- a/js/Electrical/CurrentSensor.js
+++ b/js/Electrical/CurrentSensor.js
@@ -23,9 +23,7 @@ function CurrentSensor() {
return this.x;
}
CurrentSensor.prototype.get = function CurrentSensor() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CurrentSensor.prototype.set = function CurrentSensor() {
return new BasicBlock(this.x);
diff --git a/js/Electrical/Ground.js b/js/Electrical/Ground.js
index 6e22af8e..454ea116 100644
--- a/js/Electrical/Ground.js
+++ b/js/Electrical/Ground.js
@@ -22,9 +22,7 @@ function Ground() {
return this.x;
}
Ground.prototype.get = function Ground() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
Ground.prototype.set = function Ground() {
return new GroundBlock(this.x);
diff --git a/js/Electrical/Inductor.js b/js/Electrical/Inductor.js
index 0e4824fc..11100964 100644
--- a/js/Electrical/Inductor.js
+++ b/js/Electrical/Inductor.js
@@ -26,9 +26,7 @@ function Inductor() {
return this.x;
}
Inductor.prototype.get = function Inductor() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
Inductor.prototype.set = function Inductor() {
this.exprs = this.graphics.exprs;
diff --git a/js/Electrical/MOTOR.js b/js/Electrical/MOTOR.js
index e681218e..b9dc349b 100644
--- a/js/Electrical/MOTOR.js
+++ b/js/Electrical/MOTOR.js
@@ -18,9 +18,7 @@ function MOTOR() {
return this.x;
}
MOTOR.prototype.get = function MOTOR() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
MOTOR.prototype.set = function MOTOR() {
return new BasicBlock(this.x);
diff --git a/js/Electrical/PotentialSensor.js b/js/Electrical/PotentialSensor.js
index ae77c13a..8f114319 100644
--- a/js/Electrical/PotentialSensor.js
+++ b/js/Electrical/PotentialSensor.js
@@ -23,9 +23,7 @@ function PotentialSensor() {
return this.x;
}
PotentialSensor.prototype.get = function PotentialSensor() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
PotentialSensor.prototype.set = function PotentialSensor() {
return new BasicBlock(this.x);
diff --git a/js/Electrical/Resistor.js b/js/Electrical/Resistor.js
index 9b62ccee..1840ab28 100644
--- a/js/Electrical/Resistor.js
+++ b/js/Electrical/Resistor.js
@@ -26,9 +26,7 @@ function Resistor() {
return this.x;
}
Resistor.prototype.get = function Resistor() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
Resistor.prototype.set = function Resistor() {
this.exprs = this.graphics.exprs;
diff --git a/js/Electrical/VariableResistor.js b/js/Electrical/VariableResistor.js
index 2c884ba0..f9ab9a83 100644
--- a/js/Electrical/VariableResistor.js
+++ b/js/Electrical/VariableResistor.js
@@ -23,9 +23,7 @@ function VariableResistor() {
return this.x;
}
VariableResistor.prototype.get = function VariableResistor() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
VariableResistor.prototype.set = function VariableResistor() {
return new BasicBlock(this.x);
diff --git a/js/Electrical/VoltageSensor.js b/js/Electrical/VoltageSensor.js
index 7ad9fe30..732b29e3 100644
--- a/js/Electrical/VoltageSensor.js
+++ b/js/Electrical/VoltageSensor.js
@@ -23,9 +23,7 @@ function VoltageSensor() {
return this.x;
}
VoltageSensor.prototype.get = function VoltageSensor() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
VoltageSensor.prototype.set = function VoltageSensor() {
return new VoltageSensorBlock(this.x);
diff --git a/js/Events/ANDBLK.js b/js/Events/ANDBLK.js
index 8a270c17..a81d87d4 100644
--- a/js/Events/ANDBLK.js
+++ b/js/Events/ANDBLK.js
@@ -71,9 +71,7 @@ function ANDBLK() {
return this.x;
}
ANDBLK.prototype.get = function ANDBLK() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
ANDBLK.prototype.set = function ANDBLK() {
return new BasicBlock(this.x);
diff --git a/js/Events/ANDLOG_f.js b/js/Events/ANDLOG_f.js
index 127795ca..b6d6671f 100644
--- a/js/Events/ANDLOG_f.js
+++ b/js/Events/ANDLOG_f.js
@@ -16,9 +16,7 @@ function ANDLOG_f() {
return this.x;
}
ANDLOG_f.prototype.get = function ANDLOG_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
ANDLOG_f.prototype.set = function ANDLOG_f() {
return new BasicBlock(this.x);
diff --git a/js/Events/CLKSOMV_f.js b/js/Events/CLKSOMV_f.js
index a4c2d797..e6907d4e 100644
--- a/js/Events/CLKSOMV_f.js
+++ b/js/Events/CLKSOMV_f.js
@@ -16,9 +16,7 @@ function CLKSOMV_f() {
return this.x;
}
CLKSOMV_f.prototype.get = function CLKSOMV_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CLKSOMV_f.prototype.set = function CLKSOMV_f() {
return new BasicBlock(this.x);
diff --git a/js/Events/CLKSOM_f.js b/js/Events/CLKSOM_f.js
index b0e8c31c..932c979a 100644
--- a/js/Events/CLKSOM_f.js
+++ b/js/Events/CLKSOM_f.js
@@ -16,9 +16,7 @@ function CLKSOM_f() {
return this.x;
}
CLKSOM_f.prototype.get = function CLKSOM_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CLKSOM_f.prototype.set = function CLKSOM_f() {
return new BasicBlock(this.x);
diff --git a/js/Events/CLKSPLIT_f.js b/js/Events/CLKSPLIT_f.js
index 6b55e089..1f12def7 100644
--- a/js/Events/CLKSPLIT_f.js
+++ b/js/Events/CLKSPLIT_f.js
@@ -15,9 +15,7 @@ function CLKSPLIT_f() {
return this.x;
}
CLKSPLIT_f.prototype.get = function CLKSPLIT_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CLKSPLIT_f.prototype.set = function CLKSPLIT_f() {
return new BasicBlock(this.x);
diff --git a/js/Events/EVTVARDLY.js b/js/Events/EVTVARDLY.js
index 61fbac44..f688d6c9 100644
--- a/js/Events/EVTVARDLY.js
+++ b/js/Events/EVTVARDLY.js
@@ -19,9 +19,7 @@ function EVTVARDLY() {
return this.x;
}
EVTVARDLY.prototype.get = function EVTVARDLY() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
EVTVARDLY.prototype.set = function EVTVARDLY() {
this.exprs = this.graphics.exprs;
diff --git a/js/Events/MCLOCK_f.js b/js/Events/MCLOCK_f.js
index 14fed50b..cdc40601 100644
--- a/js/Events/MCLOCK_f.js
+++ b/js/Events/MCLOCK_f.js
@@ -73,9 +73,7 @@ function MCLOCK_f() {
return this.x;
}
MCLOCK_f.prototype.get = function MCLOCK_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
MCLOCK_f.prototype.set = function MCLOCK_f() {
if (typeof(o)=="Block"&&o.gui=="MFCLCK_f") {
diff --git a/js/Events/VirtualCLK0.js b/js/Events/VirtualCLK0.js
index dc7c6dad..ea3e7638 100644
--- a/js/Events/VirtualCLK0.js
+++ b/js/Events/VirtualCLK0.js
@@ -17,9 +17,7 @@ function VirtualCLK0() {
return this.x;
}
VirtualCLK0.prototype.get = function VirtualCLK0() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
VirtualCLK0.prototype.set = function VirtualCLK0() {
return new BasicBlock(this.x);
diff --git a/js/Hydraulics/Flowmeter.js b/js/Hydraulics/Flowmeter.js
index 9120e1af..7789dccf 100644
--- a/js/Hydraulics/Flowmeter.js
+++ b/js/Hydraulics/Flowmeter.js
@@ -53,9 +53,7 @@ function Flowmeter() {
return this.x;
}
Flowmeter.prototype.get = function Flowmeter() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
Flowmeter.prototype.set = function Flowmeter() {
this.exprs = this.graphics.exprs;
diff --git a/js/IntegerOp/DFLIPFLOP.js b/js/IntegerOp/DFLIPFLOP.js
index 7a0219c8..33c1721b 100644
--- a/js/IntegerOp/DFLIPFLOP.js
+++ b/js/IntegerOp/DFLIPFLOP.js
@@ -96,9 +96,7 @@ function DFLIPFLOP() {
return this.x;
}
DFLIPFLOP.prototype.get = function DFLIPFLOP() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
DFLIPFLOP.prototype.set = function DFLIPFLOP() {
return new BasicBlock(this.x);
diff --git a/js/IntegerOp/DLATCH.js b/js/IntegerOp/DLATCH.js
index da4d72f4..2f7a70d9 100644
--- a/js/IntegerOp/DLATCH.js
+++ b/js/IntegerOp/DLATCH.js
@@ -41,9 +41,7 @@ function DLATCH() {
return this.x;
}
DLATCH.prototype.get = function DLATCH() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
DLATCH.prototype.set = function DLATCH() {
return new BasicBlock(this.x);
diff --git a/js/IntegerOp/JKFLIPFLOP.js b/js/IntegerOp/JKFLIPFLOP.js
index 026a75ab..493293e2 100644
--- a/js/IntegerOp/JKFLIPFLOP.js
+++ b/js/IntegerOp/JKFLIPFLOP.js
@@ -52,9 +52,7 @@ function JKFLIPFLOP() {
return this.x;
}
JKFLIPFLOP.prototype.get = function JKFLIPFLOP() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
JKFLIPFLOP.prototype.set = function JKFLIPFLOP() {
if (typeof(o)=="Block"&&o.gui=="DOLLAR_m") {
diff --git a/js/IntegerOp/SRFLIPFLOP.js b/js/IntegerOp/SRFLIPFLOP.js
index 055c87b7..428b23f0 100644
--- a/js/IntegerOp/SRFLIPFLOP.js
+++ b/js/IntegerOp/SRFLIPFLOP.js
@@ -36,9 +36,7 @@ function SRFLIPFLOP() {
return this.x;
}
SRFLIPFLOP.prototype.get = function SRFLIPFLOP() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
SRFLIPFLOP.prototype.set = function SRFLIPFLOP() {
if (typeof(o)=="Block"&&o.gui=="DOLLAR_m") {
diff --git a/js/Linear/BIGSOM_f.js b/js/Linear/BIGSOM_f.js
index eddff7f0..b7a4013b 100644
--- a/js/Linear/BIGSOM_f.js
+++ b/js/Linear/BIGSOM_f.js
@@ -18,9 +18,7 @@ function BIGSOM_f() {
return this.x;
}
BIGSOM_f.prototype.get = function BIGSOM_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
BIGSOM_f.prototype.set = function BIGSOM_f() {
this.exprs = this.graphics.exprs;
diff --git a/js/Linear/CLINDUMMY_f.js b/js/Linear/CLINDUMMY_f.js
index 648c9aec..a635e859 100644
--- a/js/Linear/CLINDUMMY_f.js
+++ b/js/Linear/CLINDUMMY_f.js
@@ -16,9 +16,7 @@ function CLINDUMMY_f() {
return this.x;
}
CLINDUMMY_f.prototype.get = function CLINDUMMY_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CLINDUMMY_f.prototype.set = function CLINDUMMY_f() {
return new BasicBlock(this.x);
diff --git a/js/Linear/DERIV.js b/js/Linear/DERIV.js
index 8d2599b3..45b2345e 100644
--- a/js/Linear/DERIV.js
+++ b/js/Linear/DERIV.js
@@ -16,9 +16,7 @@ function DERIV() {
return this.x;
}
DERIV.prototype.get = function DERIV() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
DERIV.prototype.set = function DERIV() {
return new BasicBlock(this.x);
diff --git a/js/Linear/INTEGRAL_f.js b/js/Linear/INTEGRAL_f.js
index 46bc238b..a6383035 100644
--- a/js/Linear/INTEGRAL_f.js
+++ b/js/Linear/INTEGRAL_f.js
@@ -18,9 +18,7 @@ function INTEGRAL_f() {
return this.x;
}
INTEGRAL_f.prototype.get = function INTEGRAL_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
INTEGRAL_f.prototype.set = function INTEGRAL_f() {
this.exprs = this.graphics.exprs;
diff --git a/js/Linear/REGISTER_f.js b/js/Linear/REGISTER_f.js
index 86c7e1ef..bf399bc7 100644
--- a/js/Linear/REGISTER_f.js
+++ b/js/Linear/REGISTER_f.js
@@ -19,9 +19,7 @@ function REGISTER_f() {
return this.x;
}
REGISTER_f.prototype.get = function REGISTER_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
REGISTER_f.prototype.set = function REGISTER_f() {
this.exprs = this.graphics.exprs;
diff --git a/js/Linear/SAMPHOLD.js b/js/Linear/SAMPHOLD.js
index 819763e1..2ff6cc6c 100644
--- a/js/Linear/SAMPHOLD.js
+++ b/js/Linear/SAMPHOLD.js
@@ -17,9 +17,7 @@ function SAMPHOLD() {
return this.x;
}
SAMPHOLD.prototype.get = function SAMPHOLD() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
SAMPHOLD.prototype.set = function SAMPHOLD() {
this.x.model.firing = [];
diff --git a/js/Linear/SAMPLEHOLD_f.js b/js/Linear/SAMPLEHOLD_f.js
index fb9efb53..fd1676da 100644
--- a/js/Linear/SAMPLEHOLD_f.js
+++ b/js/Linear/SAMPLEHOLD_f.js
@@ -17,9 +17,7 @@ function SAMPLEHOLD_f() {
return this.x;
}
SAMPLEHOLD_f.prototype.get = function SAMPLEHOLD_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
SAMPLEHOLD_f.prototype.set = function SAMPLEHOLD_f() {
this.x.model.firing = [];
diff --git a/js/Linear/SOM_f.js b/js/Linear/SOM_f.js
index b01c8bf5..d7560f45 100644
--- a/js/Linear/SOM_f.js
+++ b/js/Linear/SOM_f.js
@@ -18,9 +18,7 @@ function SOM_f() {
return this.x;
}
SOM_f.prototype.get = function SOM_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
SOM_f.prototype.set = function SOM_f() {
this.exprs = this.graphics.exprs;
diff --git a/js/Linear/SUM_f.js b/js/Linear/SUM_f.js
index e4bb2f8a..a4c1c57a 100644
--- a/js/Linear/SUM_f.js
+++ b/js/Linear/SUM_f.js
@@ -16,9 +16,7 @@ function SUM_f() {
return this.x;
}
SUM_f.prototype.get = function SUM_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
SUM_f.prototype.set = function SUM_f() {
return new BasicBlock(this.x);
diff --git a/js/MatrixOp/MATZCONJ.js b/js/MatrixOp/MATZCONJ.js
index 1fa6859a..12728a13 100644
--- a/js/MatrixOp/MATZCONJ.js
+++ b/js/MatrixOp/MATZCONJ.js
@@ -29,9 +29,7 @@ function MATZCONJ() {
return this.x;
}
MATZCONJ.prototype.get = function MATZCONJ() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
MATZCONJ.prototype.set = function MATZCONJ() {
return new BasicBlock(this.x);
diff --git a/js/Misc/AUTOMAT.js b/js/Misc/AUTOMAT.js
index 1e8806bb..998df738 100644
--- a/js/Misc/AUTOMAT.js
+++ b/js/Misc/AUTOMAT.js
@@ -31,9 +31,7 @@ function AUTOMAT() {
return this.x;
}
AUTOMAT.prototype.get = function AUTOMAT() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
AUTOMAT.prototype.set = function AUTOMAT() {
this.exprs = this.graphics.exprs;
diff --git a/js/Misc/CONSTRAINT_c.js b/js/Misc/CONSTRAINT_c.js
index c372580e..7efe931c 100644
--- a/js/Misc/CONSTRAINT_c.js
+++ b/js/Misc/CONSTRAINT_c.js
@@ -19,9 +19,7 @@ function CONSTRAINT_c() {
return this.x;
}
CONSTRAINT_c.prototype.get = function CONSTRAINT_c() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CONSTRAINT_c.prototype.set = function CONSTRAINT_c() {
this.exprs = this.graphics.exprs;
diff --git a/js/Misc/DEBUG.js b/js/Misc/DEBUG.js
index 9aed1d05..e24992a4 100644
--- a/js/Misc/DEBUG.js
+++ b/js/Misc/DEBUG.js
@@ -13,9 +13,7 @@ function DEBUG() {
return this.x;
}
DEBUG.prototype.get = function DEBUG() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
DEBUG.prototype.set = function DEBUG() {
this.exprs = this.graphics.exprs;
diff --git a/js/Misc/DEBUG_SCICOS.js b/js/Misc/DEBUG_SCICOS.js
index d30188c8..ecb3e0ae 100644
--- a/js/Misc/DEBUG_SCICOS.js
+++ b/js/Misc/DEBUG_SCICOS.js
@@ -8,9 +8,7 @@ function DEBUG_SCICOS() {
return this.x;
}
DEBUG_SCICOS.prototype.get = function DEBUG_SCICOS() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
DEBUG_SCICOS.prototype.set = function DEBUG_SCICOS() {
this.x = tmpvar0[0];
diff --git a/js/Misc/DSUPER.js b/js/Misc/DSUPER.js
index cb3364e8..aefaa9fa 100644
--- a/js/Misc/DSUPER.js
+++ b/js/Misc/DSUPER.js
@@ -7,9 +7,7 @@ function DSUPER() {
return this.x;
}
DSUPER.prototype.get = function DSUPER() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
DSUPER.prototype.set = function DSUPER() {
var y = this.needcompile;
diff --git a/js/Misc/EDGE_TRIGGER.js b/js/Misc/EDGE_TRIGGER.js
index 0faafe7f..4d6ece5d 100644
--- a/js/Misc/EDGE_TRIGGER.js
+++ b/js/Misc/EDGE_TRIGGER.js
@@ -85,9 +85,7 @@ function EDGE_TRIGGER() {
return this.x;
}
EDGE_TRIGGER.prototype.get = function EDGE_TRIGGER() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
EDGE_TRIGGER.prototype.set = function EDGE_TRIGGER() {
if (typeof(o)=="Block"&&o.gui=="EDGETRIGGER") {
diff --git a/js/Misc/ENDBLK.js b/js/Misc/ENDBLK.js
index a173fddf..58327da8 100644
--- a/js/Misc/ENDBLK.js
+++ b/js/Misc/ENDBLK.js
@@ -13,9 +13,7 @@ function ENDBLK() {
return this.x;
}
ENDBLK.prototype.get = function ENDBLK() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
ENDBLK.prototype.set = function ENDBLK() {
if (typeof(o)=="Block"&&o.gui=="END_c") {
diff --git a/js/Misc/Extract_Activation.js b/js/Misc/Extract_Activation.js
index e42bbd03..878cc276 100644
--- a/js/Misc/Extract_Activation.js
+++ b/js/Misc/Extract_Activation.js
@@ -90,9 +90,7 @@ function Extract_Activation() {
return this.x;
}
Extract_Activation.prototype.get = function Extract_Activation() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
Extract_Activation.prototype.set = function Extract_Activation() {
return new BasicBlock(this.x);
diff --git a/js/Misc/IMPSPLIT_f.js b/js/Misc/IMPSPLIT_f.js
index e9bfaa98..70a28349 100644
--- a/js/Misc/IMPSPLIT_f.js
+++ b/js/Misc/IMPSPLIT_f.js
@@ -19,9 +19,7 @@ function IMPSPLIT_f() {
return this.x;
}
IMPSPLIT_f.prototype.get = function IMPSPLIT_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
IMPSPLIT_f.prototype.set = function IMPSPLIT_f() {
return new BasicBlock(this.x);
diff --git a/js/Misc/MPBLOCK.js b/js/Misc/MPBLOCK.js
index a089a56e..97a9a895 100644
--- a/js/Misc/MPBLOCK.js
+++ b/js/Misc/MPBLOCK.js
@@ -36,9 +36,7 @@ function MPBLOCK() {
return this.x;
}
MPBLOCK.prototype.get = function MPBLOCK() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
MPBLOCK.prototype.set = function MPBLOCK() {
this.exprs = this.graphics.exprs;
diff --git a/js/Misc/PAL_f.js b/js/Misc/PAL_f.js
index f4d7bf06..e9469134 100644
--- a/js/Misc/PAL_f.js
+++ b/js/Misc/PAL_f.js
@@ -19,9 +19,7 @@ function PAL_f() {
return this.x;
}
PAL_f.prototype.get = function PAL_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
PAL_f.prototype.set = function PAL_f() {
this.x = tmpvar0[0];
diff --git a/js/Misc/SPLIT_f.js b/js/Misc/SPLIT_f.js
index 25a77818..55f148eb 100644
--- a/js/Misc/SPLIT_f.js
+++ b/js/Misc/SPLIT_f.js
@@ -14,9 +14,7 @@ function SPLIT_f() {
return this.x;
}
SPLIT_f.prototype.get = function SPLIT_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
SPLIT_f.prototype.set = function SPLIT_f() {
return new BasicBlock(this.x);
diff --git a/js/Misc/SUPER_f.js b/js/Misc/SUPER_f.js
index f7ed1507..a566e3fa 100644
--- a/js/Misc/SUPER_f.js
+++ b/js/Misc/SUPER_f.js
@@ -26,9 +26,7 @@ function SUPER_f() {
return this.x;
}
SUPER_f.prototype.get = function SUPER_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
SUPER_f.prototype.set = function SUPER_f() {
return new SuperBlock(this.x);
diff --git a/js/Misc/func_block.js b/js/Misc/func_block.js
index f21a5066..51696162 100644
--- a/js/Misc/func_block.js
+++ b/js/Misc/func_block.js
@@ -16,9 +16,7 @@ function func_block() {
return this.x;
}
func_block.prototype.get = function func_block() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
func_block.prototype.set = function func_block() {
this.exprs = this.graphics.exprs;
diff --git a/js/NonLinear/ABSBLK_f.js b/js/NonLinear/ABSBLK_f.js
index 0c8058bf..f072dbf0 100644
--- a/js/NonLinear/ABSBLK_f.js
+++ b/js/NonLinear/ABSBLK_f.js
@@ -15,9 +15,7 @@ function ABSBLK_f() {
return this.x;
}
ABSBLK_f.prototype.get = function ABSBLK_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
ABSBLK_f.prototype.set = function ABSBLK_f() {
return new BasicBlock(this.x);
diff --git a/js/NonLinear/COSBLK_f.js b/js/NonLinear/COSBLK_f.js
index 7735a7ae..51a7c03f 100644
--- a/js/NonLinear/COSBLK_f.js
+++ b/js/NonLinear/COSBLK_f.js
@@ -16,9 +16,7 @@ function COSBLK_f() {
return this.x;
}
COSBLK_f.prototype.get = function COSBLK_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
COSBLK_f.prototype.set = function COSBLK_f() {
return new BasicBlock(this.x);
diff --git a/js/NonLinear/EXPBLK_f.js b/js/NonLinear/EXPBLK_f.js
index bbc0b82d..e5912a9f 100644
--- a/js/NonLinear/EXPBLK_f.js
+++ b/js/NonLinear/EXPBLK_f.js
@@ -19,9 +19,7 @@ function EXPBLK_f() {
return this.x;
}
EXPBLK_f.prototype.get = function EXPBLK_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
EXPBLK_f.prototype.set = function EXPBLK_f() {
this.exprs = this.graphics.exprs;
diff --git a/js/NonLinear/EXPBLK_m.js b/js/NonLinear/EXPBLK_m.js
index c77f7bea..ecdf542c 100644
--- a/js/NonLinear/EXPBLK_m.js
+++ b/js/NonLinear/EXPBLK_m.js
@@ -23,9 +23,7 @@ function EXPBLK_m() {
return this.x;
}
EXPBLK_m.prototype.get = function EXPBLK_m() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
EXPBLK_m.prototype.set = function EXPBLK_m() {
this.exprs = this.graphics.exprs;
diff --git a/js/NonLinear/FSV_f.js b/js/NonLinear/FSV_f.js
index ff49f1af..91a20d4c 100644
--- a/js/NonLinear/FSV_f.js
+++ b/js/NonLinear/FSV_f.js
@@ -17,9 +17,7 @@ function FSV_f() {
return this.x;
}
FSV_f.prototype.get = function FSV_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
FSV_f.prototype.set = function FSV_f() {
return new BasicBlock(this.x);
diff --git a/js/NonLinear/INVBLK.js b/js/NonLinear/INVBLK.js
index 324372b1..0c3aa215 100644
--- a/js/NonLinear/INVBLK.js
+++ b/js/NonLinear/INVBLK.js
@@ -17,9 +17,7 @@ function INVBLK() {
return this.x;
}
INVBLK.prototype.get = function INVBLK() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
INVBLK.prototype.set = function INVBLK() {
return new BasicBlock(this.x);
diff --git a/js/NonLinear/INVBLK_f.js b/js/NonLinear/INVBLK_f.js
index 1ce1e841..c9106183 100644
--- a/js/NonLinear/INVBLK_f.js
+++ b/js/NonLinear/INVBLK_f.js
@@ -17,9 +17,7 @@ function INVBLK_f() {
return this.x;
}
INVBLK_f.prototype.get = function INVBLK_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
INVBLK_f.prototype.set = function INVBLK_f() {
return new BasicBlock(this.x);
diff --git a/js/NonLinear/LOGBLK_f.js b/js/NonLinear/LOGBLK_f.js
index f244195f..4f528865 100644
--- a/js/NonLinear/LOGBLK_f.js
+++ b/js/NonLinear/LOGBLK_f.js
@@ -19,9 +19,7 @@ function LOGBLK_f() {
return this.x;
}
LOGBLK_f.prototype.get = function LOGBLK_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
LOGBLK_f.prototype.set = function LOGBLK_f() {
this.exprs = this.graphics.exprs;
diff --git a/js/NonLinear/LOOKUP_f.js b/js/NonLinear/LOOKUP_f.js
index d1d2abab..9a22b665 100644
--- a/js/NonLinear/LOOKUP_f.js
+++ b/js/NonLinear/LOOKUP_f.js
@@ -16,9 +16,7 @@ function LOOKUP_f() {
return this.x;
}
LOOKUP_f.prototype.get = function LOOKUP_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
LOOKUP_f.prototype.set = function LOOKUP_f() {
this.exprs = this.graphics.exprs;
diff --git a/js/NonLinear/MAX_f.js b/js/NonLinear/MAX_f.js
index 8b7bbfc8..8fc66350 100644
--- a/js/NonLinear/MAX_f.js
+++ b/js/NonLinear/MAX_f.js
@@ -18,9 +18,7 @@ function MAX_f() {
return this.x;
}
MAX_f.prototype.get = function MAX_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
MAX_f.prototype.set = function MAX_f() {
return new BasicBlock(this.x);
diff --git a/js/NonLinear/MIN_f.js b/js/NonLinear/MIN_f.js
index 34647671..9f3f872d 100644
--- a/js/NonLinear/MIN_f.js
+++ b/js/NonLinear/MIN_f.js
@@ -18,9 +18,7 @@ function MIN_f() {
return this.x;
}
MIN_f.prototype.get = function MIN_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
MIN_f.prototype.set = function MIN_f() {
return new BasicBlock(this.x);
diff --git a/js/NonLinear/POWBLK_f.js b/js/NonLinear/POWBLK_f.js
index bd307438..8fbad09b 100644
--- a/js/NonLinear/POWBLK_f.js
+++ b/js/NonLinear/POWBLK_f.js
@@ -19,9 +19,7 @@ function POWBLK_f() {
return this.x;
}
POWBLK_f.prototype.get = function POWBLK_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
POWBLK_f.prototype.set = function POWBLK_f() {
this.exprs = this.graphics.exprs;
diff --git a/js/NonLinear/PRODUCT.js b/js/NonLinear/PRODUCT.js
index bbaef310..f5946553 100644
--- a/js/NonLinear/PRODUCT.js
+++ b/js/NonLinear/PRODUCT.js
@@ -18,9 +18,7 @@ function PRODUCT() {
return this.x;
}
PRODUCT.prototype.get = function PRODUCT() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
PRODUCT.prototype.set = function PRODUCT() {
this.exprs = this.graphics.exprs;
diff --git a/js/NonLinear/PROD_f.js b/js/NonLinear/PROD_f.js
index ead16ab5..807a8fd2 100644
--- a/js/NonLinear/PROD_f.js
+++ b/js/NonLinear/PROD_f.js
@@ -14,9 +14,7 @@ function PROD_f() {
return this.x;
}
PROD_f.prototype.get = function PROD_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
PROD_f.prototype.set = function PROD_f() {
return new BasicBlock(this.x);
diff --git a/js/NonLinear/SINBLK_f.js b/js/NonLinear/SINBLK_f.js
index 5a5d5548..2312dc22 100644
--- a/js/NonLinear/SINBLK_f.js
+++ b/js/NonLinear/SINBLK_f.js
@@ -16,9 +16,7 @@ function SINBLK_f() {
return this.x;
}
SINBLK_f.prototype.get = function SINBLK_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
SINBLK_f.prototype.set = function SINBLK_f() {
return new BasicBlock(this.x);
diff --git a/js/NonLinear/TANBLK_f.js b/js/NonLinear/TANBLK_f.js
index 05a576da..31393cf3 100644
--- a/js/NonLinear/TANBLK_f.js
+++ b/js/NonLinear/TANBLK_f.js
@@ -17,9 +17,7 @@ function TANBLK_f() {
return this.x;
}
TANBLK_f.prototype.get = function TANBLK_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
TANBLK_f.prototype.set = function TANBLK_f() {
this.x.model.firing = [];
diff --git a/js/NonLinear/TrigFun.js b/js/NonLinear/TrigFun.js
index 78f23521..6bc2eca5 100644
--- a/js/NonLinear/TrigFun.js
+++ b/js/NonLinear/TrigFun.js
@@ -16,9 +16,7 @@ function TrigFun() {
return this.x;
}
TrigFun.prototype.get = function TrigFun() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
TrigFun.prototype.set = function TrigFun() {
this.exprs = this.graphics.exprs;
diff --git a/js/PDE/PDE.js b/js/PDE/PDE.js
index e2cbf621..d396f0fa 100644
--- a/js/PDE/PDE.js
+++ b/js/PDE/PDE.js
@@ -18,9 +18,7 @@ function PDE() {
return this.x;
}
PDE.prototype.get = function PDE() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
PDE.prototype.set = function PDE() {
var label = this.graphics.exprs;
diff --git a/js/Sinks/CLKOUTV_f.js b/js/Sinks/CLKOUTV_f.js
index a839c290..328279b2 100644
--- a/js/Sinks/CLKOUTV_f.js
+++ b/js/Sinks/CLKOUTV_f.js
@@ -17,9 +17,7 @@ function CLKOUTV_f() {
return this.x;
}
CLKOUTV_f.prototype.get = function CLKOUTV_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CLKOUTV_f.prototype.set = function CLKOUTV_f() {
this.exprs = this.graphics.exprs;
diff --git a/js/Sinks/CLKOUT_f.js b/js/Sinks/CLKOUT_f.js
index 2bf0edfe..05f4f7c7 100644
--- a/js/Sinks/CLKOUT_f.js
+++ b/js/Sinks/CLKOUT_f.js
@@ -17,9 +17,7 @@ function CLKOUT_f() {
return this.x;
}
CLKOUT_f.prototype.get = function CLKOUT_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CLKOUT_f.prototype.set = function CLKOUT_f() {
this.exprs = this.graphics.exprs;
diff --git a/js/Sinks/OUTIMPL_f.js b/js/Sinks/OUTIMPL_f.js
index b8141bbc..0800cf99 100644
--- a/js/Sinks/OUTIMPL_f.js
+++ b/js/Sinks/OUTIMPL_f.js
@@ -23,9 +23,7 @@ function OUTIMPL_f() {
return this.x;
}
OUTIMPL_f.prototype.get = function OUTIMPL_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
OUTIMPL_f.prototype.set = function OUTIMPL_f() {
this.exprs = this.graphics.exprs;
diff --git a/js/Sinks/OUT_f.js b/js/Sinks/OUT_f.js
index 0089c599..758d04a5 100644
--- a/js/Sinks/OUT_f.js
+++ b/js/Sinks/OUT_f.js
@@ -20,9 +20,7 @@ function OUT_f() {
return this.x;
}
OUT_f.prototype.get = function OUT_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
OUT_f.prototype.set = function OUT_f() {
this.exprs = this.graphics.exprs;
diff --git a/js/Sinks/TRASH_f.js b/js/Sinks/TRASH_f.js
index 699bd12d..cf48b38b 100644
--- a/js/Sinks/TRASH_f.js
+++ b/js/Sinks/TRASH_f.js
@@ -17,9 +17,7 @@ function TRASH_f() {
return this.x;
}
TRASH_f.prototype.get = function TRASH_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
TRASH_f.prototype.set = function TRASH_f() {
return new BasicBlock(this.x);
diff --git a/js/Sources/CLKINV_f.js b/js/Sources/CLKINV_f.js
index c694928c..cc59a0c1 100644
--- a/js/Sources/CLKINV_f.js
+++ b/js/Sources/CLKINV_f.js
@@ -18,9 +18,7 @@ function CLKINV_f() {
return this.x;
}
CLKINV_f.prototype.get = function CLKINV_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CLKINV_f.prototype.set = function CLKINV_f() {
this.exprs = this.graphics.exprs;
diff --git a/js/Sources/CLKIN_f.js b/js/Sources/CLKIN_f.js
index 96057474..bdec8727 100644
--- a/js/Sources/CLKIN_f.js
+++ b/js/Sources/CLKIN_f.js
@@ -17,9 +17,7 @@ function CLKIN_f() {
return this.x;
}
CLKIN_f.prototype.get = function CLKIN_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CLKIN_f.prototype.set = function CLKIN_f() {
this.exprs = this.graphics.exprs;
diff --git a/js/Sources/CONST.js b/js/Sources/CONST.js
index 76661388..6dfc718c 100644
--- a/js/Sources/CONST.js
+++ b/js/Sources/CONST.js
@@ -18,9 +18,7 @@ function CONST() {
return this.x;
}
CONST.prototype.get = function CONST() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CONST.prototype.set = function CONST() {
this.exprs = this.graphics.exprs;
diff --git a/js/Sources/CONST_f.js b/js/Sources/CONST_f.js
index c866e463..0ab35b9b 100644
--- a/js/Sources/CONST_f.js
+++ b/js/Sources/CONST_f.js
@@ -18,9 +18,7 @@ function CONST_f() {
return this.x;
}
CONST_f.prototype.get = function CONST_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CONST_f.prototype.set = function CONST_f() {
this.exprs = this.graphics.exprs;
diff --git a/js/Sources/CONST_m.js b/js/Sources/CONST_m.js
index 55c8e3a6..3101caa5 100644
--- a/js/Sources/CONST_m.js
+++ b/js/Sources/CONST_m.js
@@ -21,9 +21,7 @@ function CONST_m() {
return this.x;
}
CONST_m.prototype.get = function CONST_m() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CONST_m.prototype.set = function CONST_m() {
this.exprs = this.graphics.exprs;
diff --git a/js/Sources/CURV_f.js b/js/Sources/CURV_f.js
index 32a9fd29..d8eb53ba 100644
--- a/js/Sources/CURV_f.js
+++ b/js/Sources/CURV_f.js
@@ -23,9 +23,7 @@ function CURV_f() {
return this.x;
}
CURV_f.prototype.get = function CURV_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
CURV_f.prototype.set = function CURV_f() {
var rpar = this.model.rpar;
diff --git a/js/Sources/FROMWSB.js b/js/Sources/FROMWSB.js
index ea9aa8c9..d411920b 100644
--- a/js/Sources/FROMWSB.js
+++ b/js/Sources/FROMWSB.js
@@ -15,9 +15,7 @@ function FROMWSB() {
return this.x;
}
FROMWSB.prototype.get = function FROMWSB() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
FROMWSB.prototype.set = function FROMWSB() {
if (typeof(o)=="Block"&&o.gui=="FROMWS_c") {
diff --git a/js/Sources/GEN_SQR.js b/js/Sources/GEN_SQR.js
index 03aac3aa..b15cc552 100644
--- a/js/Sources/GEN_SQR.js
+++ b/js/Sources/GEN_SQR.js
@@ -54,9 +54,7 @@ function GEN_SQR() {
return this.x;
}
GEN_SQR.prototype.get = function GEN_SQR() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
GEN_SQR.prototype.set = function GEN_SQR() {
var y = this.needcompile;
diff --git a/js/Sources/Ground_g.js b/js/Sources/Ground_g.js
index 1fe4898b..76eaf9ef 100644
--- a/js/Sources/Ground_g.js
+++ b/js/Sources/Ground_g.js
@@ -22,9 +22,7 @@ function Ground_g() {
return this.x;
}
Ground_g.prototype.get = function Ground_g() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
Ground_g.prototype.set = function Ground_g() {
return new BasicBlock(this.x);
diff --git a/js/Sources/INIMPL_f.js b/js/Sources/INIMPL_f.js
index 548f42d6..57bb6a3c 100644
--- a/js/Sources/INIMPL_f.js
+++ b/js/Sources/INIMPL_f.js
@@ -23,9 +23,7 @@ function INIMPL_f() {
return this.x;
}
INIMPL_f.prototype.get = function INIMPL_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
INIMPL_f.prototype.set = function INIMPL_f() {
this.exprs = this.graphics.exprs;
diff --git a/js/Sources/IN_f.js b/js/Sources/IN_f.js
index 31326a50..96059541 100644
--- a/js/Sources/IN_f.js
+++ b/js/Sources/IN_f.js
@@ -19,9 +19,7 @@ function IN_f() {
return this.x;
}
IN_f.prototype.get = function IN_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
IN_f.prototype.set = function IN_f() {
this.exprs = this.graphics.exprs;
diff --git a/js/Sources/PULSE_SC.js b/js/Sources/PULSE_SC.js
index 6b91077a..27653b01 100644
--- a/js/Sources/PULSE_SC.js
+++ b/js/Sources/PULSE_SC.js
@@ -49,9 +49,7 @@ function PULSE_SC() {
return this.x;
}
PULSE_SC.prototype.get = function PULSE_SC() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
PULSE_SC.prototype.set = function PULSE_SC() {
var y = this.needcompile;
diff --git a/js/Sources/SAWTOOTH_f.js b/js/Sources/SAWTOOTH_f.js
index 7f975daf..3d40a764 100644
--- a/js/Sources/SAWTOOTH_f.js
+++ b/js/Sources/SAWTOOTH_f.js
@@ -17,9 +17,7 @@ function SAWTOOTH_f() {
return this.x;
}
SAWTOOTH_f.prototype.get = function SAWTOOTH_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
SAWTOOTH_f.prototype.set = function SAWTOOTH_f() {
return new BasicBlock(this.x);
diff --git a/js/Sources/STEP_FUNCTION.js b/js/Sources/STEP_FUNCTION.js
index bda1f4b5..34c936ad 100644
--- a/js/Sources/STEP_FUNCTION.js
+++ b/js/Sources/STEP_FUNCTION.js
@@ -55,9 +55,7 @@ function STEP_FUNCTION() {
return this.x;
}
STEP_FUNCTION.prototype.get = function STEP_FUNCTION() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
STEP_FUNCTION.prototype.set = function STEP_FUNCTION() {
if (typeof(o)=="Block"&&o.gui=="STEP") {
diff --git a/js/Sources/Sigbuilder.js b/js/Sources/Sigbuilder.js
index b4f130fc..051681b8 100644
--- a/js/Sources/Sigbuilder.js
+++ b/js/Sources/Sigbuilder.js
@@ -19,9 +19,7 @@ function Sigbuilder() {
return this.x;
}
Sigbuilder.prototype.get = function Sigbuilder() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
Sigbuilder.prototype.set = function Sigbuilder() {
var ppath = list(0);
diff --git a/js/Sources/TIME_f.js b/js/Sources/TIME_f.js
index f0b39c13..e0861d58 100644
--- a/js/Sources/TIME_f.js
+++ b/js/Sources/TIME_f.js
@@ -14,9 +14,7 @@ function TIME_f() {
return this.x;
}
TIME_f.prototype.get = function TIME_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
TIME_f.prototype.set = function TIME_f() {
return new BasicBlock(this.x);
diff --git a/js/Threshold/NEGTOPOS_f.js b/js/Threshold/NEGTOPOS_f.js
index c7ee7792..f3cb904c 100644
--- a/js/Threshold/NEGTOPOS_f.js
+++ b/js/Threshold/NEGTOPOS_f.js
@@ -18,9 +18,7 @@ function NEGTOPOS_f() {
return this.x;
}
NEGTOPOS_f.prototype.get = function NEGTOPOS_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
NEGTOPOS_f.prototype.set = function NEGTOPOS_f() {
this.x.model.firing = -1;
diff --git a/js/Threshold/POSTONEG_f.js b/js/Threshold/POSTONEG_f.js
index 528a23e7..dcef5065 100644
--- a/js/Threshold/POSTONEG_f.js
+++ b/js/Threshold/POSTONEG_f.js
@@ -19,9 +19,7 @@ function POSTONEG_f() {
return this.x;
}
POSTONEG_f.prototype.get = function POSTONEG_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
POSTONEG_f.prototype.set = function POSTONEG_f() {
this.x.model.firing = [-1];
diff --git a/js/Threshold/ZCROSS_f.js b/js/Threshold/ZCROSS_f.js
index cfef4493..bbbffec6 100644
--- a/js/Threshold/ZCROSS_f.js
+++ b/js/Threshold/ZCROSS_f.js
@@ -21,9 +21,7 @@ function ZCROSS_f() {
return this.x;
}
ZCROSS_f.prototype.get = function ZCROSS_f() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
ZCROSS_f.prototype.set = function ZCROSS_f() {
this.exprs = this.graphics.exprs;
diff --git a/sci2jsyacc.py b/sci2jsyacc.py
index 3748380a..59892cda 100755
--- a/sci2jsyacc.py
+++ b/sci2jsyacc.py
@@ -99,7 +99,10 @@ def p_jobfunctionblock_jobfunctionstatement_statementblock_endfunction(p):
blocktype = getblocktype(fname)
jdefine = JOB_BLOCKS['"define"']
- jget = '%svar options = {\n%s%s}\n%sreturn options;\n' % (indent2, OPTIONS_BLOCK, indent2, indent2)
+ if OPTIONS_BLOCK != '':
+ jget = '%svar options = {\n%s%s}\n%sreturn options;\n' % (indent2, OPTIONS_BLOCK, indent2, indent2)
+ else:
+ jget = '%salert("parameters cannot be modified");\n' % (indent2)
jgetinputs = JOB_BLOCKS['"getinputs"']
jgetorigin = JOB_BLOCKS['"getorigin"']
jgetoutputs = JOB_BLOCKS['"getoutputs"']