summaryrefslogtreecommitdiff
path: root/js/Sources
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sources')
-rw-r--r--js/Sources/CLKINV_f.js2
-rw-r--r--js/Sources/CLKIN_f.js2
-rw-r--r--js/Sources/CLOCK_c.js6
-rw-r--r--js/Sources/CLOCK_f.js6
-rw-r--r--js/Sources/CONST.js2
-rw-r--r--js/Sources/CONST_f.js2
-rw-r--r--js/Sources/CONST_m.js2
-rw-r--r--js/Sources/Counter.js6
-rw-r--r--js/Sources/FROMWS_c.js8
-rw-r--r--js/Sources/GENSIN_f.js6
-rw-r--r--js/Sources/GENSQR_f.js2
-rw-r--r--js/Sources/GEN_SQR.js8
-rw-r--r--js/Sources/INIMPL_f.js2
-rw-r--r--js/Sources/Modulo_Count.js4
-rw-r--r--js/Sources/PULSE_SC.js8
-rw-r--r--js/Sources/RAMP.js6
-rw-r--r--js/Sources/RAND_f.js8
-rw-r--r--js/Sources/RAND_m.js10
-rw-r--r--js/Sources/READAU_f.js6
-rw-r--r--js/Sources/READC_f.js16
-rw-r--r--js/Sources/RFILE_f.js10
-rw-r--r--js/Sources/STEP.js6
-rw-r--r--js/Sources/SampleCLK.js4
-rw-r--r--js/Sources/TKSCALE.js6
24 files changed, 69 insertions, 69 deletions
diff --git a/js/Sources/CLKINV_f.js b/js/Sources/CLKINV_f.js
index 8a10a229..15cccf2a 100644
--- a/js/Sources/CLKINV_f.js
+++ b/js/Sources/CLKINV_f.js
@@ -23,7 +23,7 @@ function CLKINV_f() {
return options;
}
CLKINV_f.prototype.set = function CLKINV_f() {
- this.prt = parseFloat((arguments[0]["prt"]))
+ this.prt = parseFloat(arguments[0]["prt"])
this.x = arg1;
graphics = arg1.graphics;
model = arg1.model;
diff --git a/js/Sources/CLKIN_f.js b/js/Sources/CLKIN_f.js
index ff42d1da..08373047 100644
--- a/js/Sources/CLKIN_f.js
+++ b/js/Sources/CLKIN_f.js
@@ -22,7 +22,7 @@ function CLKIN_f() {
return options;
}
CLKIN_f.prototype.set = function CLKIN_f() {
- this.prt = parseFloat((arguments[0]["prt"]))
+ this.prt = parseFloat(arguments[0]["prt"])
this.x = arg1;
graphics = arg1.graphics;
model = arg1.model;
diff --git a/js/Sources/CLOCK_c.js b/js/Sources/CLOCK_c.js
index 9635ac4c..97df9d39 100644
--- a/js/Sources/CLOCK_c.js
+++ b/js/Sources/CLOCK_c.js
@@ -53,9 +53,9 @@ function CLOCK_c() {
return options;
}
CLOCK_c.prototype.set = function CLOCK_c() {
- this.dt = parseFloat((arguments[0]["dt"]))
- this.t0 = parseFloat((arguments[0]["t0"]))
- this.exprs0 = parseFloat((arguments[0]["exprs0"]))
+ this.dt = arguments[0]["dt"]
+ this.t0 = arguments[0]["t0"]
+ this.exprs0 = arguments[0]["exprs0"]
for (i=1;i<=length(arg1.model.rpar.objs);i+=1) {
o = arg1.model.rpar.objs[i-1];
if (typeof(o)=="Block"&&o.gui=="EVTDLY_c") {
diff --git a/js/Sources/CLOCK_f.js b/js/Sources/CLOCK_f.js
index 7ef76e89..2f7509a5 100644
--- a/js/Sources/CLOCK_f.js
+++ b/js/Sources/CLOCK_f.js
@@ -53,9 +53,9 @@ function CLOCK_f() {
return options;
}
CLOCK_f.prototype.set = function CLOCK_f() {
- this.dt = parseFloat((arguments[0]["dt"]))
- this.t0 = parseFloat((arguments[0]["t0"]))
- this.exprs0 = parseFloat((arguments[0]["exprs0"]))
+ this.dt = arguments[0]["dt"]
+ this.t0 = arguments[0]["t0"]
+ this.exprs0 = arguments[0]["exprs0"]
for (i=1;i<=length(arg1.model.rpar.objs);i+=1) {
o = arg1.model.rpar.objs[i-1];
if (typeof(o)=="Block"&&o.gui=="EVTDLY_f") {
diff --git a/js/Sources/CONST.js b/js/Sources/CONST.js
index de7dd51a..34c1ca06 100644
--- a/js/Sources/CONST.js
+++ b/js/Sources/CONST.js
@@ -23,7 +23,7 @@ function CONST() {
return options;
}
CONST.prototype.set = function CONST() {
- this.C = parseFloat((arguments[0]["C"]))
+ this.C = parseFloat(arguments[0]["C"])
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Sources/CONST_f.js b/js/Sources/CONST_f.js
index f6a3306d..900a953b 100644
--- a/js/Sources/CONST_f.js
+++ b/js/Sources/CONST_f.js
@@ -23,7 +23,7 @@ function CONST_f() {
return options;
}
CONST_f.prototype.set = function CONST_f() {
- this.C = parseFloat((arguments[0]["C"]))
+ this.C = parseFloat(arguments[0]["C"])
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Sources/CONST_m.js b/js/Sources/CONST_m.js
index 67ef14df..2c187bf2 100644
--- a/js/Sources/CONST_m.js
+++ b/js/Sources/CONST_m.js
@@ -26,7 +26,7 @@ function CONST_m() {
return options;
}
CONST_m.prototype.set = function CONST_m() {
- this.C = inverse((arguments[0]["C"]))
+ this.C = inverse(arguments[0]["C"])
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Sources/Counter.js b/js/Sources/Counter.js
index 64d87996..5ef219d4 100644
--- a/js/Sources/Counter.js
+++ b/js/Sources/Counter.js
@@ -30,9 +30,9 @@ function Counter() {
return options;
}
Counter.prototype.set = function Counter() {
- this.minim = parseFloat((arguments[0]["minim"]))
- this.maxim = parseFloat((arguments[0]["maxim"]))
- this.rule = parseFloat((arguments[0]["rule"]))
+ this.minim = parseFloat(arguments[0]["minim"])
+ this.maxim = parseFloat(arguments[0]["maxim"])
+ this.rule = parseFloat(arguments[0]["rule"])
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Sources/FROMWS_c.js b/js/Sources/FROMWS_c.js
index 01d4c245..00630b65 100644
--- a/js/Sources/FROMWS_c.js
+++ b/js/Sources/FROMWS_c.js
@@ -34,10 +34,10 @@ function FROMWS_c() {
return options;
}
FROMWS_c.prototype.set = function FROMWS_c() {
- this.varnam = parseFloat((arguments[0]["varnam"]))
- this.Method = parseFloat((arguments[0]["Method"]))
- this.ZC = parseFloat((arguments[0]["ZC"]))
- this.OutEnd = parseFloat((arguments[0]["OutEnd"]))
+ this.varnam = arguments[0]["varnam"]
+ this.Method = parseFloat(arguments[0]["Method"])
+ this.ZC = parseFloat(arguments[0]["ZC"])
+ this.OutEnd = parseFloat(arguments[0]["OutEnd"])
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Sources/GENSIN_f.js b/js/Sources/GENSIN_f.js
index 00fda26a..93ce008b 100644
--- a/js/Sources/GENSIN_f.js
+++ b/js/Sources/GENSIN_f.js
@@ -28,9 +28,9 @@ function GENSIN_f() {
return options;
}
GENSIN_f.prototype.set = function GENSIN_f() {
- this.M = parseFloat((arguments[0]["M"]))
- this.F = parseFloat((arguments[0]["F"]))
- this.P = parseFloat((arguments[0]["P"]))
+ this.M = arguments[0]["M"]
+ this.F = arguments[0]["F"]
+ this.P = arguments[0]["P"]
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Sources/GENSQR_f.js b/js/Sources/GENSQR_f.js
index 6839e96a..d4dbe567 100644
--- a/js/Sources/GENSQR_f.js
+++ b/js/Sources/GENSQR_f.js
@@ -26,7 +26,7 @@ function GENSQR_f() {
return options;
}
GENSQR_f.prototype.set = function GENSQR_f() {
- this.Amplitude = parseFloat((arguments[0]["Amplitude"]))
+ this.Amplitude = parseFloat(arguments[0]["Amplitude"])
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Sources/GEN_SQR.js b/js/Sources/GEN_SQR.js
index 39a3ec95..d6a3d32a 100644
--- a/js/Sources/GEN_SQR.js
+++ b/js/Sources/GEN_SQR.js
@@ -59,10 +59,10 @@ function GEN_SQR() {
return options;
}
GEN_SQR.prototype.set = function GEN_SQR() {
- scicos_context.Amin = parseFloat((arguments[0]["scicos_context.Amin"]))
- scicos_context.Amax = parseFloat((arguments[0]["scicos_context.Amax"]))
- scicos_context.rule = parseFloat((arguments[0]["scicos_context.rule"]))
- scicos_context.F = parseFloat((arguments[0]["scicos_context.F"]))
+ scicos_context.Amin = arguments[0]["scicos_context.Amin"]
+ scicos_context.Amax = arguments[0]["scicos_context.Amax"]
+ scicos_context.rule = arguments[0]["scicos_context.rule"]
+ scicos_context.F = arguments[0]["scicos_context.F"]
y = this.needcompile;
arg1.model.ipar = 1;
typ = list();
diff --git a/js/Sources/INIMPL_f.js b/js/Sources/INIMPL_f.js
index 16e681a2..9df4edbe 100644
--- a/js/Sources/INIMPL_f.js
+++ b/js/Sources/INIMPL_f.js
@@ -28,7 +28,7 @@ function INIMPL_f() {
return options;
}
INIMPL_f.prototype.set = function INIMPL_f() {
- this.prt = parseFloat((arguments[0]["prt"]))
+ this.prt = parseFloat(arguments[0]["prt"])
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Sources/Modulo_Count.js b/js/Sources/Modulo_Count.js
index 9a37d409..d65b6931 100644
--- a/js/Sources/Modulo_Count.js
+++ b/js/Sources/Modulo_Count.js
@@ -27,8 +27,8 @@ function Modulo_Count() {
return options;
}
Modulo_Count.prototype.set = function Modulo_Count() {
- this.ini_c = parseFloat((arguments[0]["ini_c"]))
- this.base = parseFloat((arguments[0]["base"]))
+ this.ini_c = parseFloat(arguments[0]["ini_c"])
+ this.base = parseFloat(arguments[0]["base"])
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Sources/PULSE_SC.js b/js/Sources/PULSE_SC.js
index 45440f1b..496a0a2d 100644
--- a/js/Sources/PULSE_SC.js
+++ b/js/Sources/PULSE_SC.js
@@ -54,10 +54,10 @@ function PULSE_SC() {
return options;
}
PULSE_SC.prototype.set = function PULSE_SC() {
- scicos_context.E = parseFloat((arguments[0]["scicos_context.E"]))
- scicos_context.W = parseFloat((arguments[0]["scicos_context.W"]))
- scicos_context.F = parseFloat((arguments[0]["scicos_context.F"]))
- scicos_context.A = parseFloat((arguments[0]["scicos_context.A"]))
+ scicos_context.E = arguments[0]["scicos_context.E"]
+ scicos_context.W = arguments[0]["scicos_context.W"]
+ scicos_context.F = arguments[0]["scicos_context.F"]
+ scicos_context.A = arguments[0]["scicos_context.A"]
y = this.needcompile;
arg1.model.ipar = 1;
typ = list();
diff --git a/js/Sources/RAMP.js b/js/Sources/RAMP.js
index 4567458e..f34a816a 100644
--- a/js/Sources/RAMP.js
+++ b/js/Sources/RAMP.js
@@ -31,9 +31,9 @@ function RAMP() {
return options;
}
RAMP.prototype.set = function RAMP() {
- this.slope = parseFloat((arguments[0]["slope"]))
- this.stt = parseFloat((arguments[0]["stt"]))
- this.iout = parseFloat((arguments[0]["iout"]))
+ this.slope = parseFloat(arguments[0]["slope"])
+ this.stt = parseFloat(arguments[0]["stt"])
+ this.iout = parseFloat(arguments[0]["iout"])
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Sources/RAND_f.js b/js/Sources/RAND_f.js
index c6bc527f..fb90a1e8 100644
--- a/js/Sources/RAND_f.js
+++ b/js/Sources/RAND_f.js
@@ -33,10 +33,10 @@ function RAND_f() {
return options;
}
RAND_f.prototype.set = function RAND_f() {
- this.flag = parseFloat((arguments[0]["flag"]))
- this.a = parseFloat((arguments[0]["a"]))
- this.b = parseFloat((arguments[0]["b"]))
- this.seed_c = parseFloat((arguments[0]["seed_c"]))
+ this.flag = parseFloat(arguments[0]["flag"])
+ this.a = parseFloat(arguments[0]["a"])
+ this.b = parseFloat(arguments[0]["b"])
+ this.seed_c = arguments[0]["seed_c"]
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Sources/RAND_m.js b/js/Sources/RAND_m.js
index 5974246b..f602ae68 100644
--- a/js/Sources/RAND_m.js
+++ b/js/Sources/RAND_m.js
@@ -43,11 +43,11 @@ function RAND_m() {
return options;
}
RAND_m.prototype.set = function RAND_m() {
- this.typ = inverse((arguments[0]["typ"]))
- this.flag = parseFloat((arguments[0]["flag"]))
- this.a = parseFloat((arguments[0]["a"]))
- this.b = parseFloat((arguments[0]["b"]))
- this.seed_c = parseFloat((arguments[0]["seed_c"]))
+ this.typ = inverse(arguments[0]["typ"])
+ this.flag = parseFloat(arguments[0]["flag"])
+ this.a = parseFloat(arguments[0]["a"])
+ this.b = parseFloat(arguments[0]["b"])
+ this.seed_c = arguments[0]["seed_c"]
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Sources/READAU_f.js b/js/Sources/READAU_f.js
index a6d63862..e808579b 100644
--- a/js/Sources/READAU_f.js
+++ b/js/Sources/READAU_f.js
@@ -37,9 +37,9 @@ function READAU_f() {
return options;
}
READAU_f.prototype.set = function READAU_f() {
- this.fname1 = parseFloat((arguments[0]["fname1"]))
- this.N = parseFloat((arguments[0]["N"]))
- this.swap = parseFloat((arguments[0]["swap"]))
+ this.fname1 = parseFloat(arguments[0]["fname1"])
+ this.N = parseFloat(arguments[0]["N"])
+ this.swap = parseFloat(arguments[0]["swap"])
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Sources/READC_f.js b/js/Sources/READC_f.js
index a22e610b..e6f44c28 100644
--- a/js/Sources/READC_f.js
+++ b/js/Sources/READC_f.js
@@ -46,14 +46,14 @@ function READC_f() {
return options;
}
READC_f.prototype.set = function READC_f() {
- this.tmask1 = parseFloat((arguments[0]["tmask1"]))
- this.outmask = parseFloat((arguments[0]["outmask"]))
- this.fname1 = parseFloat((arguments[0]["fname1"]))
- this.frmt1 = parseFloat((arguments[0]["frmt1"]))
- this.M = parseFloat((arguments[0]["M"]))
- this.N = parseFloat((arguments[0]["N"]))
- this.offset = parseFloat((arguments[0]["offset"]))
- this.swap = parseFloat((arguments[0]["swap"]))
+ this.tmask1 = parseFloat(arguments[0]["tmask1"])
+ this.outmask = parseFloat(arguments[0]["outmask"])
+ this.fname1 = parseFloat(arguments[0]["fname1"])
+ this.frmt1 = arguments[0]["frmt1"]
+ this.M = parseFloat(arguments[0]["M"])
+ this.N = parseFloat(arguments[0]["N"])
+ this.offset = parseFloat(arguments[0]["offset"])
+ this.swap = parseFloat(arguments[0]["swap"])
this.x = arg1;
model = this.x.model;
graphics = arg1.graphics;
diff --git a/js/Sources/RFILE_f.js b/js/Sources/RFILE_f.js
index e4a81fe2..419f0bb1 100644
--- a/js/Sources/RFILE_f.js
+++ b/js/Sources/RFILE_f.js
@@ -39,11 +39,11 @@ function RFILE_f() {
return options;
}
RFILE_f.prototype.set = function RFILE_f() {
- this.tmask1 = parseFloat((arguments[0]["tmask1"]))
- this.outmask = parseFloat((arguments[0]["outmask"]))
- this.fname1 = parseFloat((arguments[0]["fname1"]))
- this.frmt1 = parseFloat((arguments[0]["frmt1"]))
- this.N = parseFloat((arguments[0]["N"]))
+ this.tmask1 = parseFloat(arguments[0]["tmask1"])
+ this.outmask = parseFloat(arguments[0]["outmask"])
+ this.fname1 = parseFloat(arguments[0]["fname1"])
+ this.frmt1 = parseFloat(arguments[0]["frmt1"])
+ this.N = parseFloat(arguments[0]["N"])
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Sources/STEP.js b/js/Sources/STEP.js
index 42b032fa..1d5fbe8a 100644
--- a/js/Sources/STEP.js
+++ b/js/Sources/STEP.js
@@ -30,9 +30,9 @@ function STEP() {
return options;
}
STEP.prototype.set = function STEP() {
- this.temps = parseFloat((arguments[0]["temps"]))
- this.in1 = parseFloat((arguments[0]["in1"]))
- this.fi = parseFloat((arguments[0]["fi"]))
+ this.temps = arguments[0]["temps"]
+ this.in1 = arguments[0]["in1"]
+ this.fi = arguments[0]["fi"]
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Sources/SampleCLK.js b/js/Sources/SampleCLK.js
index 642d6bd7..a91881eb 100644
--- a/js/Sources/SampleCLK.js
+++ b/js/Sources/SampleCLK.js
@@ -23,8 +23,8 @@ function SampleCLK() {
return options;
}
SampleCLK.prototype.set = function SampleCLK() {
- this.frequ = parseFloat((arguments[0]["frequ"]))
- this.offset = parseFloat((arguments[0]["offset"]))
+ this.frequ = arguments[0]["frequ"]
+ this.offset = arguments[0]["offset"]
this.x = arg1;
graphics = arg1.graphics;
model = arg1.model;
diff --git a/js/Sources/TKSCALE.js b/js/Sources/TKSCALE.js
index 9de93dd4..c29ec00e 100644
--- a/js/Sources/TKSCALE.js
+++ b/js/Sources/TKSCALE.js
@@ -28,9 +28,9 @@ function TKSCALE() {
return options;
}
TKSCALE.prototype.set = function TKSCALE() {
- this.a = parseFloat((arguments[0]["a"]))
- this.b = parseFloat((arguments[0]["b"]))
- this.f = parseFloat((arguments[0]["f"]))
+ this.a = parseFloat(arguments[0]["a"])
+ this.b = parseFloat(arguments[0]["b"])
+ this.f = parseFloat(arguments[0]["f"])
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;