diff options
author | Sunil Shetye | 2018-06-18 17:08:56 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-06-18 17:08:56 +0530 |
commit | 0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a (patch) | |
tree | 6ae63f7633d80f9a70be43ebe789eb0c3a3ec364 /js/Branching/GOTO.js | |
parent | 8e6e9558ba4963ea71b7a6efc11e0b44e7c9040a (diff) | |
download | sci2js-0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a.tar.gz sci2js-0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a.tar.bz2 sci2js-0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a.zip |
change order of functions
Diffstat (limited to 'js/Branching/GOTO.js')
-rw-r--r-- | js/Branching/GOTO.js | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/js/Branching/GOTO.js b/js/Branching/GOTO.js index 6e890a94..ba4ae97f 100644 --- a/js/Branching/GOTO.js +++ b/js/Branching/GOTO.js @@ -1,5 +1,25 @@ /* autogenerated from "macros/Branching/GOTO.sci" */ function GOTO() { +GOTO.prototype.define = function GOTO() { +model=scicos_model(); +model.sim="goto"; +model.in1=-1; +model.in2=-2; +model.intyp=-1; +model.out=[]; +model.out2=[]; +model.outtyp=1; +model.ipar=int(1); +model.opar=list("A"); +model.blocktype="c"; +model.dep_ut=[false,false]; +exprs=["A",sci2exp(1)]; +gr_i=[]; +x=standard_define([2,1],model,exprs,gr_i); +x.graphics.id="Goto"; +} +GOTO.prototype.details = function GOTO() { +} GOTO.prototype.get = function GOTO() { } GOTO.prototype.set = function GOTO() { @@ -33,24 +53,4 @@ break } needcompile=resume(needcompile) } -GOTO.prototype.define = function GOTO() { -model=scicos_model(); -model.sim="goto"; -model.in1=-1; -model.in2=-2; -model.intyp=-1; -model.out=[]; -model.out2=[]; -model.outtyp=1; -model.ipar=int(1); -model.opar=list("A"); -model.blocktype="c"; -model.dep_ut=[false,false]; -exprs=["A",sci2exp(1)]; -gr_i=[]; -x=standard_define([2,1],model,exprs,gr_i); -x.graphics.id="Goto"; -} -GOTO.prototype.details = function GOTO() { -} } |