Hello!
I was curious if anyone has dabbled with fastscript multi-dimensional arrays.
I am having an exception error that I believe is related possibly to the declaration of my arrays.
Unfortunately the script engine does not catch this.
So I tried to follow the tutorial declaration:
-----------------------------------
type numbers = array [0..7] of integer;
var name : numbers;
etc...
var counting:array of numbers
-------------------------------
The engine takes this however I am not sure this is really right. Actually in my dimensional array I am working with midi, so my type is TMidi.
Also normal pascal seems to show to do this different, but I have not been able to get the scripting engine to accept any of these forms yet...might just be me interpreting wrong when I am doing.
Who knows everytime I post script questions in the forum, I usually figure it out just after...so wish me luck...lol
-s
Multi-Dimensional Arrays - Fastscript
been a while back till used script but if i recall correctly I think used
"array of array of integer" as a declaration
something like
var test: array [0..5] of array [0..4] of integer;
but the way you do seems right also and more apporpiate for different types, i recall using arrays of Tparamenters
there must be some polyphonic scripts using arrays of Tmidi have to check
edit: "midi unpack" in midi tools seems one for example
"array of array of integer" as a declaration
something like
var test: array [0..5] of array [0..4] of integer;
but the way you do seems right also and more apporpiate for different types, i recall using arrays of Tparamenters
there must be some polyphonic scripts using arrays of Tmidi have to check
edit: "midi unpack" in midi tools seems one for example
Who is online
Users browsing this forum: No registered users and 152 guests
