summaryrefslogtreecommitdiff
path: root/js/Sources/READC_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sources/READC_f.js')
-rw-r--r--js/Sources/READC_f.js60
1 files changed, 30 insertions, 30 deletions
diff --git a/js/Sources/READC_f.js b/js/Sources/READC_f.js
index a3e6dad6..fb30dabc 100644
--- a/js/Sources/READC_f.js
+++ b/js/Sources/READC_f.js
@@ -1,5 +1,35 @@
/* autogenerated from "macros/Sources/READC_f.sci" */
function READC_f() {
+READC_f.prototype.define = function READC_f() {
+frmt="d ";
+fname="foo";
+lunit=0;
+N=20;
+M=1;
+rpar=[];
+tmask=0;
+swap=0;
+offset=1;
+outmask=1;
+ievt=0;
+nout=size(outmask,"*");
+ipar=[length(fname),_str2code(frmt),ievt,N,M,swap,offset,_str2code(fname),tmask,outmask];
+model=scicos_model();
+model.sim=list("readc",2);
+model.out=nout;
+model.evtin=1;
+model.evtout=[];
+model.dstate=[1,1,lunit,zeros(N*M,1)];
+model.ipar=[length(fname),_str2code(frmt),ievt,N,M,swap,offset,_str2code(fname),tmask,outmask];
+model.blocktype="d";
+model.firing=-1;
+model.dep_ut=[false,false];
+exprs=["[]",sci2exp(outmask),fname,frmt,string(M),string(N),string(offset),string(swap)];
+gr_i=[];
+x=standard_define([4,2],model,exprs,gr_i);
+}
+READC_f.prototype.details = function READC_f() {
+}
READC_f.prototype.get = function READC_f() {
}
READC_f.prototype.set = function READC_f() {
@@ -84,34 +114,4 @@ break
}
}
}
-READC_f.prototype.define = function READC_f() {
-frmt="d ";
-fname="foo";
-lunit=0;
-N=20;
-M=1;
-rpar=[];
-tmask=0;
-swap=0;
-offset=1;
-outmask=1;
-ievt=0;
-nout=size(outmask,"*");
-ipar=[length(fname),_str2code(frmt),ievt,N,M,swap,offset,_str2code(fname),tmask,outmask];
-model=scicos_model();
-model.sim=list("readc",2);
-model.out=nout;
-model.evtin=1;
-model.evtout=[];
-model.dstate=[1,1,lunit,zeros(N*M,1)];
-model.ipar=[length(fname),_str2code(frmt),ievt,N,M,swap,offset,_str2code(fname),tmask,outmask];
-model.blocktype="d";
-model.firing=-1;
-model.dep_ut=[false,false];
-exprs=["[]",sci2exp(outmask),fname,frmt,string(M),string(N),string(offset),string(swap)];
-gr_i=[];
-x=standard_define([4,2],model,exprs,gr_i);
-}
-READC_f.prototype.details = function READC_f() {
-}
}