I think I have not explain my question clearly, what I want to do is declarate an array variable which firts dimension was a code variable and second dimension was a integer variable.
I`m not sure if it can be done??, maybe a should use a temp table?
I'm not sure that i understood your question. If we talk about indexes in arrays, so it can be only numbers. In other way you will never know the size of array and the order
If we talk about array values, so in Navision you must define type for each variable and it can't be changed. So all the valueas will be of the same type.
As i know, in some other languages you can use different data types in the same array.
But if you need to have similar functionality, just store all values in text format and then use function EVALUATE when you want to use this value. It is not very good solution, but anyway, it is
You are right, I was talking about array values
I need to have differents data types in the same array.
As you say is not very good solution to use evaluate function.
Comments
I`m not sure if it can be done??, maybe a should use a temp table?
Thanks again.
is it posible to do with some other program languages?
I think so, but I'm not sure.
regards.
If we talk about array values, so in Navision you must define type for each variable and it can't be changed. So all the valueas will be of the same type.
As i know, in some other languages you can use different data types in the same array.
But if you need to have similar functionality, just store all values in text format and then use function EVALUATE when you want to use this value. It is not very good solution, but anyway, it is
I need to have differents data types in the same array.
As you say is not very good solution to use evaluate function.
Thanks a lot