#print($arrayOfValues)

1 messages · Page 1 of 1 (latest)

brittle imp
#

i don't really know much about xenon code but couldn't you use a foreach loop instead?

#

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,

reef rover
#

Just do it yourself by a program? Make a file as library and do it by yourself. That's how programming is working 😉

reef minnow
#

@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. )

spare lark
reef minnow
#

@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. )

shy vapor
reef rover
#

Or just put a big screen display on a dashboard on the side of the pc for debug stuff...