Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The maximum size of a multidimensional array
#4
(01-23-2024, 11:13 AM)Zuzikofon Wrote: Thanks :-)
I set memory to 1024.000.000 then I managed to create a one-dimensional array into which I entered about max 15.000.000 values - 1234.123456
The application occupies... ~800MB in the system :-D
However, the language is fast. Congratulations.
There are systems for data analysis, but it is easy to encounter a "wall" there. Something that doesn't do exactly what you want, you have to spend a lot of work to get around it and look for any traps (like oddly calculated roundings). In your programming language, I have full control of what I want to do.
This is a numerical analysis, but also a visual analysis - a slightly more complicated matter. All I need is to draw a point, a straight line or a rectangle. Of course, also the necessary basic mathematical operations.

ExclamationQuestions.
Is there any way to make it move the entire array down? That is, he replaced the first position with the second one, the second one with the third one, etc. - then the last one would become vacant?
Or.
Is there any other possibility to upload the entire csv file to memory and NaaLaa would download the data (and save) to this file in memory and then save it to disk?

Not an important question, but maybe there is an easy answer - is it possible to change the IDE font?

I used to write in AMOS on Amiga. Your language has this atmosphere, I don't know how to write it well in English. Does what is needed quickly. Many people are looking for such a language. For example, for fast calculations or prototyping algorithms/advanced calculations. For example, electronics engineers to calculate some systems, mathematicians, financiers. For education.

Your language has a lot of potential. And I looked through many dialects.
It's hard to find though.
I found your language thanks to gotbasic.com - I looked through all of them there. Yours is the best. Smile

Even because you have IDE dark mode and easy color configurator.

This is just the beginning of my adventure, I will give you more complete user feedback soon.

For me, the most important thing is that after some time, when looking at the algorithm, I can easily read what it is doing.

It is readable
for k=1 to 10 step 0.5
next

Not readable enough:
for i in range(1, 6, 2):
for(int i=1; i<20; i++)

Thanks for the nice words!

I used Amos and Blitz Basic a lot in the Amiga days, made many games in those languages.

You can delete an index in an array with 'free key <table>, <key>'. All arrays in n7 are hash tables, and for an "array" the key is the numeric index. So:

Code:
myArray = [13, 14, 9, 7]
free key myArray, 2

removes index 2 (which contains the number 9) and the array then looks like [13, 14, 7].

Arrays don't have fixed sizes, so you can always add something at the end with:

Code:
myArray[sizeof(array)] = 103

And you can insert a value at a specific index with 'insert <array>, <index>, <value>':

Code:
insert myArray, 2, 302

"Is there any other possibility to upload the entire csv file to memory and NaaLaa would download the data (and save) to this file in memory and then save it to disk?"

I'm not quite sure I follow you there, sorry Smile
Reply


Messages In This Thread
RE: The maximum size of a multidimensional array - by Marcus - 01-25-2024, 05:02 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)