Search the Community
Showing results for tags 'calculation'.
How to do matrix manipulation in sms. A matrix is basically a multidimensional array and sms supports the 'array of array of ...' structure. However I've never been able to get this to work for me satisfactorily. Maybe I'm doing something wrong but as an example this code compiles and runs ok but the output doesn't make much sense to me // var myarray : array of array of float; // var myarray1 : array of float := [1,2]; // var myarray2 : array of float := [3,4]; // Myarray.Add(myarray1,myarray2); // showmessage(floattostr(myarray[1,0]));