androidmelt
Programmer
Hi There,
Is it possible to have a matrix that holds character values?
I can manage a 3x3 matrix easily with the following command.
Integer :: matrix(3,3)
and I can for example, get an output like this:
3 6 1
6 2 1
9 5 2
Can a matrix hold characters too? I want, for example:
a b f
a a l
w i q
I can't obviously do that with an integer matrix because it keeps asking for integer inputs into the matrix.
Any ideas please?
Thanks
Is it possible to have a matrix that holds character values?
I can manage a 3x3 matrix easily with the following command.
Integer :: matrix(3,3)
and I can for example, get an output like this:
3 6 1
6 2 1
9 5 2
Can a matrix hold characters too? I want, for example:
a b f
a a l
w i q
I can't obviously do that with an integer matrix because it keeps asking for integer inputs into the matrix.
Any ideas please?
Thanks