diff options
author | Sunil Shetye | 2018-06-20 15:58:03 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-06-20 15:58:03 +0530 |
commit | 21b0cfec8f414af816d198044d2dbf97dbebfb47 (patch) | |
tree | 843b0b82ca5b74d9e2cca3572833a2326adb6584 /js | |
parent | 35feb0caf42bbdae9cd5494ca5624c2b01a5b688 (diff) | |
download | sci2js-21b0cfec8f414af816d198044d2dbf97dbebfb47.tar.gz sci2js-21b0cfec8f414af816d198044d2dbf97dbebfb47.tar.bz2 sci2js-21b0cfec8f414af816d198044d2dbf97dbebfb47.zip |
start working on scicos_getvalue
Diffstat (limited to 'js')
-rw-r--r-- | js/Misc/PAL_f.js | 31 | ||||
-rw-r--r-- | js/Sources/GEN_SQR.js | 2 | ||||
-rw-r--r-- | js/Sources/PULSE_SC.js | 2 |
3 files changed, 31 insertions, 4 deletions
diff --git a/js/Misc/PAL_f.js b/js/Misc/PAL_f.js index 21ebba14..f27f6e8d 100644 --- a/js/Misc/PAL_f.js +++ b/js/Misc/PAL_f.js @@ -1,3 +1,30 @@ -Syntax error in input LexToken(SCICOS,'scicos',1,1009) /* autogenerated from "macros/Misc/PAL_f.sci" */ -None +function PAL_f() { +PAL_f.prototype.define = function PAL_f() { +scs=scicos_diagram(); +scs.props.title="Palette"; +model=scicos_model(); +model.sim="palette"; +model.in1=[]; +model.out=[]; +model.rpar=scs; +model.blocktype="h"; +model.dep_ut=[false,false]; +gr_i=[]; +x=standard_define([2,2],model,[],gr_i); +x.graphics.id=scs.props.title(1); +} +PAL_f.prototype.details = function PAL_f() { +} +PAL_f.prototype.get = function PAL_f() { +} +PAL_f.prototype.set = function PAL_f() { +[x,newparameters,needcompile,edited]=scicos(arg1.model.rpar); +arg1.graphics.id=x.props.title(1); +arg1.model.rpar=x; +x=arg1; +y=[]; +typ=[]; +%exit=resume(false) +} +} diff --git a/js/Sources/GEN_SQR.js b/js/Sources/GEN_SQR.js index eea33f2a..6a5213d4 100644 --- a/js/Sources/GEN_SQR.js +++ b/js/Sources/GEN_SQR.js @@ -1,3 +1,3 @@ -Syntax error in input LexToken(SCICOS_CONTEXT,'scicos_context',1,1457) +Syntax error in input LexToken(DOT,'.',1,1561) /* autogenerated from "macros/Sources/GEN_SQR.sci" */ None diff --git a/js/Sources/PULSE_SC.js b/js/Sources/PULSE_SC.js index bc19ab77..0d7ab77a 100644 --- a/js/Sources/PULSE_SC.js +++ b/js/Sources/PULSE_SC.js @@ -1,3 +1,3 @@ -Syntax error in input LexToken(SCICOS_CONTEXT,'scicos_context',1,1406) +Syntax error in input LexToken(DOT,'.',1,1511) /* autogenerated from "macros/Sources/PULSE_SC.sci" */ None |