Project

General

Profile

Bug #760

Direct mode - Arrays shown flipped

Added by Paul Kitching almost 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Target version:
Start date:
05/28/2021
Due date:
% Done:

0%

Estimated time:
Affected version:

Description

If you have an array and view it with the listvars button, the x,y positions are the wrong way round.

dim test(3,3)
test(0,1)=1
test(1,1)=1
test(3,2)=1

shows:

test( 0-3 ) = 
( 0 ) = '0,1,0,0'
( 1 ) = '0,1,0,0'
( 2 ) = '0,0,0,0'
( 3 ) = '0,0,1,0'

instead of:

( 0 ) = '0,0,0,0'
( 1 ) = '1,1,0,0'
( 2 ) = '0,0,0,1'
( 3 ) = '0,0,0,0'

It's been diagonally flipped, which makes it complicated when looking at it and trying to work out where things are in the array.

Also available in: Atom PDF