Author Topic: vers. 16.252 Debug String array incorrect display  (Read 392 times)

Offline Qedo

  • Dr. Type
  • ****
  • Posts: 271
  • to program what I have todo how should I program?
    • View Profile
why in Debug with vers. 16.252 I see the following wrong status?
The problem seems only with arrays of strings.
Ciao

LOCAL d$[];DIM d$[5]
d$[0]="1";d$[1]="2";d$[2]="3";d$[3]="4";d$[4]="5"


Offline Qedo

  • Dr. Type
  • ****
  • Posts: 271
  • to program what I have todo how should I program?
    • View Profile
sorry if I insist but this bug is really boring and it constantly forces me to use the DEBUG command to query the contents of the arrays of strings.
Do you also have the same problem?
Ciao

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3929
    • View Profile
    • Space Fractal
yoy might need a example so we can check it. its does look odd, but you could also debug them on screen using print
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation and The beagle Jam.

Offline Qedo

  • Dr. Type
  • ****
  • Posts: 271
  • to program what I have todo how should I program?
    • View Profile
The example (2 lines) was in my first post:

LOCAL d$[];DIM d$[5]
d$[0]="1";d$[1]="2";d$[2]="3";d$[3]="4";d$[4]="5"
END

Run it in debug mode, breakpoint on END line and see in the debug window the text array.
Thank you
Ciao

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3929
    • View Profile
    • Space Fractal
please recheck with 16.507. got a update today as official, not a beta on steam.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation and The beagle Jam.

Offline Qedo

  • Dr. Type
  • ****
  • Posts: 271
  • to program what I have todo how should I program?
    • View Profile
Don't find it on Steam. how should i do?
« Last Edit: 2020-Apr-22 by Qedo »

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3929
    • View Profile
    • Space Fractal
im througt Gernot enabled ts as a official version, but still a beta (im not change beta to official by my self, only Gernot can do that). Just enable the beta here:
https://www.glbasic.com/forum/index.php?topic=11391.0

Its was in the log news when checked in this morning. Lastest update was from Gernot.
« Last Edit: 2020-Apr-22 by spacefractal »
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation and The beagle Jam.

Offline Qedo

  • Dr. Type
  • ****
  • Posts: 271
  • to program what I have todo how should I program?
    • View Profile
with ves. 16.508 checked and OK
Great