diff options
author | Chhavi | 2016-07-07 10:35:24 +0000 |
---|---|---|
committer | Chhavi | 2016-07-07 10:35:24 +0000 |
commit | 4b16f8fd33f8edd656c76dfcd4bf9fb3cb04666c (patch) | |
tree | 3b83451a342578eada665e81ebfc8ba350cef7b7 /details.js | |
parent | ed5bed9fc702d9320639e07a06e52ad82d280260 (diff) | |
download | xcos-on-web-4b16f8fd33f8edd656c76dfcd4bf9fb3cb04666c.tar.gz xcos-on-web-4b16f8fd33f8edd656c76dfcd4bf9fb3cb04666c.tar.bz2 xcos-on-web-4b16f8fd33f8edd656c76dfcd4bf9fb3cb04666c.zip |
Updated ScilabInteger
Diffstat (limited to 'details.js')
-rw-r--r-- | details.js | 18 |
1 files changed, 12 insertions, 6 deletions
@@ -305,37 +305,43 @@ function ScilabInteger() { } function int32() { - var int = new ScilabInteger(arguments[0]); + var args = Array.prototype.slice.call(arguments); + var int = new ScilabInteger(...args); int.intPrecision = "sci_int32"; return int; } function int16() { - var int = new ScilabInteger(arguments[0]); + var args = Array.prototype.slice.call(arguments); + var int = new ScilabInteger(...args); int.intPrecision = "sci_int16"; return int; } function int8() { - var int = new ScilabInteger(arguments[0]); + var args = Array.prototype.slice.call(arguments); + var int = new ScilabInteger(...args); int.intPrecision = "sci_int8"; return int; } function uint32() { - var int = new ScilabInteger(arguments[0]); + var args = Array.prototype.slice.call(arguments); + var int = new ScilabInteger(...args); int.intPrecision = "sci_uint32"; return int; } function uint16() { - var int = new ScilabInteger(arguments[0]); + var args = Array.prototype.slice.call(arguments); + var int = new ScilabInteger(...args); int.intPrecision = "sci_uint16"; return int; } function uint8() { - var int = new ScilabInteger(arguments[0]); + var args = Array.prototype.slice.call(arguments); + var int = new ScilabInteger(...args); int.intPrecision = "sci_uint8"; return int; } |