Dear msmiley
I use MATHSERV, which you can get from:
This is a powerful BASIC interpreter that works from any document. For example, after creating a .csv file from Excel with three lines and four columns filled by consecutive numbers, I typed the following into Notepad:
chdir "\My Documents"
TEST = fileq("ectest1.csv", _exists) := 1
NUM = freefile := 7
fileopen(NUM, "ectest1.csv"
while not fileeof(NUM)
fileread(NUM, a)
print a
end while
1,2,3,4
5,6,7,8
9,10,11,12
fileclose(NUM)
clear MAT
MAT[1,1:4] = {1,2,3,4}
MAT[2,1:4] = {5,6,7,8}
MAT[3,1:4] = {9,10,11,12}
print MAT
1 2 3 4
5 6 7 8
9 10 11 12
Now that MAT is set up, you have the full range of an extended set of BASIC commands at your disposal, including matmult, matinvert and mattranspose.
Please let me know waht you think.
Helmut
engcomp@pbq.com.au