Displaying a "deep" list?

The place to discuss scripting and game modifications for X Rebirth.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

User avatar
ybeline
Posts: 83
Joined: Sun, 22. Aug 10, 13:55
x4

Displaying a "deep" list?

Post by ybeline »

Hello,

I'm toying again with some bunch of code and I just encountered a problem that I don't seem to be able to solve by myself or by using public documentation.

I have difficulties to display (show_help / debug_text) a "deep" list.

For example:

If I display list = [1,2,3], I get: [1,2,3].
If I display list = [ [1,2,3], [1,2,3] ], I get: [ [1,2,3], [1,2,3] ]

But if I want to display:

Code: Select all

list = [ [ [1,2,3], [1,2,3] ],
         [ [1,2,3], [1,2,3] ] ]
I get: [ [ [...], [...] ], [ [...], [...] ] ]

Does anyone have an idea?

Regards,

ybeline
User avatar
TheRealBix
Posts: 400
Joined: Thu, 2. Jul 09, 14:34
x4

Post by TheRealBix »

Maybe you could try with a carriage return + line feed :?
&#xD and &#xA

Return to “X Rebirth - Scripts and Modding”