The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Questions about Strings and Matrices - buffer?
07-04-2017, 09:10 AM (This post was last modified: 07-04-2017 05:53 PM by Carlos295pz.)
Post: #1
Questions about Strings and Matrices - buffer?
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:
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;
A buffer again? Doing this allows you to create very large matrices

Viga C | TD | FB
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Questions about Strings and Matrices - buffer? - Carlos295pz - 07-04-2017 09:10 AM



User(s) browsing this thread: 1 Guest(s)