07-04-2017, 09:10 AM
Hello everyone, I came up with these doubts some time ago, I would like to understand a little more the reasons for these differences.
1. If I have an extensive program (2), when using in Home for example: Programs(2), the history succeeds in displaying the entire string even if it has more than 65,535 characters. Why ?, What is the difference of the Home history? Home Buffer?
2. Why the MAKEMAT() command only allows me to create an matrix with a maximum of 19,999 elements, if when created with this form does not fail:
A buffer again? Doing this allows you to create very large matrices
1. If I have an extensive program (2), when using in Home for example: Programs(2), the history succeeds in displaying the entire string even if it has more than 65,535 characters. Why ?, What is the difference of the Home history? Home Buffer?
2. Why the MAKEMAT() command only allows me to create an matrix with a maximum of 19,999 elements, if when created with this form does not fail:
Code:
Exmpl2
BEGIN
LOCAL n=200,mtx=[[0]];
FOR X:=20 TO n DO
FOR Y:=20 TO n DO
mtx[X,Y]:=0; //mtx → 200x200 = 40,000 elements
END
END
END;