#print($arrayOfValues)
1 messages · Page 1 of 1 (latest)
for example
foreach $array ($index, $item)
print($item)
this would iterate over every item in your array and then run the code below for each item i believe,
Just do it yourself by a program? Make a file as library and do it by yourself. That's how programming is working 😉
@brittle imp ... you only get 6 lines of debug, if you used your approach you would have 1 line per item in array scrolling by you faster than can read, so is not acceptable 🙂 thank you for the suggestion ...
@reef rover You missed the point :p
As shared:
https://wiki.archean.space/xenoncode/documentation.html
Capabilities
-> Easy string concatenation and formatting
-> Built-in key-value objects
As exists now the combination of two of the core code Capaiblities are not aviable ...
This remains a request for future versions to push for standard expectation ....
( Yes, fortunately I can program alt functions, till arrays become itterable, but feel bad for the average people trying to have fun + learn / use the debugging output as one might in just about any other programming langue. )
The computers are managed server-side, so what options are you suggesting? Knowing that the content of the array will be sent over the network 25 times per second
The problem isn't so much doing it; the issue lies in the capabilities of a beginner or someone with bad intentions who might fill an entire array and cause a crash
@spare lark
I don't know - today ... It's just working ... lol
Yesterday, I was getting no results from "print($ORE)
var $ORE = input_text("ORESCANNER",$START);
Today it works ... so ... yaaa ?
( Attache both print ($ORE) and a foreach($ORE) ... to ensure i was not ZZZ on my testing. )
What about not sending an entire array if it's too large, just like e.g. numpy does, perhaps?
>>> np.zeros(1024)
array([0., 0., 0., ..., 0., 0., 0.])
Or just put a big screen display on a dashboard on the side of the pc for debug stuff...