Hi everyone,
Currently I am using a 3D array variable in Pascal language. Can the types of declaration in each dimensional be different. For eg, a 3D variable was declared as
Value : array[0..2, 0..3, 0..5] of longint.
And now I use it as below:
Value [A, B, C] := number;
My question is, for eg, can A be declared as int, B declared as int, and C declared as longint? Since the Value array was declared as longint, A, B and C should also ONLY declared as longint?
Thanks in advance for answering my question.
Currently I am using a 3D array variable in Pascal language. Can the types of declaration in each dimensional be different. For eg, a 3D variable was declared as
Value : array[0..2, 0..3, 0..5] of longint.
And now I use it as below:
Value [A, B, C] := number;
My question is, for eg, can A be declared as int, B declared as int, and C declared as longint? Since the Value array was declared as longint, A, B and C should also ONLY declared as longint?
Thanks in advance for answering my question.