FastScript for Basic ARRAY
Hi
I am porting my C++ script to Basic for an Android project.
All is working 100% except the arrays.
I need to create a few single dimension arrays in the script but they do not work.
Dim dAGR_T = [0,1,2,3,4,5]
Dim dAGR_A[6] As Int
Dim oAGR(6) As Boolean
none of the above work. Either do not compile, think the oAGR(6) is a function etc etc.
Basically I will have the arrays in the C++ part of the app. Post the array data to the script end then execute the 'main' function in the script. Once done I must copy the data back from the Script to the C++ app.
Adie
I am porting my C++ script to Basic for an Android project.
All is working 100% except the arrays.
I need to create a few single dimension arrays in the script but they do not work.
Dim dAGR_T = [0,1,2,3,4,5]
Dim dAGR_A[6] As Int
Dim oAGR(6) As Boolean
none of the above work. Either do not compile, think the oAGR(6) is a function etc etc.
Basically I will have the arrays in the C++ part of the app. Post the array data to the script end then execute the 'main' function in the script. Once done I must copy the data back from the Script to the C++ app.
Adie