diff options
Diffstat (limited to 'test/01-inline-array-div.txt')
-rw-r--r-- | test/01-inline-array-div.txt | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/test/01-inline-array-div.txt b/test/01-inline-array-div.txt new file mode 100644 index 0000000..08039ce --- /dev/null +++ b/test/01-inline-array-div.txt @@ -0,0 +1,35 @@ +%% Test for inline array with multiplication. +%mode init +{A1:B2}{={30,60;90,120}/3} +{A3:B4}{=120/{2,3;4,0}} +{A5:B6}{=A1:B2/10} +{A7:B8}{=240/A1:B2} +{A9:B10}{={9,16;21,25}/{3,8;7,5}} +{A11:D11}{={4,2,3,"C"}/{2,"A","B",2}} +%calc +%mode result +A1=10 +B1=20 +A2=30 +B2=40 +A3=60 +B3=40 +A4=30 +B4=#DIV/0! +A5=1 +B5=2 +A6=3 +B6=4 +A7=24 +B7=12 +A8=8 +B8=6 +A9=3 +B9=2 +A10=3 +B10=5 +A11=2 +B11=#VALUE! +C11=#VALUE! +D11=#VALUE! +%check |