summaryrefslogtreecommitdiff
path: root/data_structures_correct/CLKFROM.js
diff options
context:
space:
mode:
Diffstat (limited to 'data_structures_correct/CLKFROM.js')
-rw-r--r--data_structures_correct/CLKFROM.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/data_structures_correct/CLKFROM.js b/data_structures_correct/CLKFROM.js
new file mode 100644
index 0000000..eeb78b0
--- /dev/null
+++ b/data_structures_correct/CLKFROM.js
@@ -0,0 +1,20 @@
+function CLKFROM() {
+
+ CLKFROM.prototype.define = function CLKFROM() {
+ var model = scicos_model();
+ model.sim = new ScilabString(["clkfrom"]);
+ model.evtout = new ScilabDouble([1]);
+ model.opar = list(new ScilabString(["A"]));
+ model.blocktype = new ScilabString(["d"]);
+ model.firing = new ScilabDouble([-1]);
+ model.dep_ut = new ScilabBoolean([false, false]);
+
+ var exprs = new ScilabString(["A"]);
+ this.x = new standard_define(new ScilabDouble([2, 1]), model, exprs, new ScilabString([" "]));
+ this.x.graphics.id = new ScilabString(["From"]);
+ return new BasicBlock(this.x);
+ }
+ CLKFROM.prototype.details = function CLKFROM() {
+ return this.x;
+ }
+} \ No newline at end of file