Community discussions

MikroTik App
 
User avatar
Moustafa
just joined
Topic Author
Posts: 8
Joined: Mon Jan 22, 2024 6:20 pm

Has the variable size become larger ?

Thu Dec 12, 2024 8:45 am

Now I can set/edit/import variables/files larger than 4KB and in my case I actually have a 7KB variable.
I'm blown away 🤯🤯
You do not have the required permissions to view the files attached to this post.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 13060
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Has the variable size become larger ?

Thu Dec 12, 2024 10:14 am

What is the purpose of this useless thread/topic/post?

Read from remote file on the past RouterOS versions are limited to 64512 bytes at time (my idea from 2021)
viewtopic.php?f=9&t=177530

Variable sizes have always been "infinite" as long as there is free memory...
viewtopic.php?p=1012747#p1012747

This create on 6.x and on 7.x one variable of 41.943.040B (~40MB)
:global test "0123456789"
:for i from=1 to=22 do={:set test ($test . $test);:put [:len $test]}