Procedures sorting ERROR

Working on new editor enhancements?
User avatar
charvista
Addict
Addict
Posts: 949
Joined: Tue Sep 23, 2008 11:38 pm
Location: Belgium

Procedures sorting ERROR

Post by charvista »

Hi all,
This is very unusual error: a sorting error.

Code: Select all

Procedure dirq()
EndProcedure
Procedure dirz()
EndProcedure
Procedure dirQ()
EndProcedure
Procedure dirZ()
EndProcedure
dirZ is not correctly sorted ! This is the output :
Image
- Windows 11 Home 64-bit
- PureBasic 6.10 LTS (x64)
- 64 Gb RAM
- 13th Gen Intel(R) Core(TM) i9-13900K 3.00 GHz
- 5K monitor with DPI @ 200%
User avatar
charvista
Addict
Addict
Posts: 949
Joined: Tue Sep 23, 2008 11:38 pm
Location: Belgium

Re: Procedures sorting ERROR

Post by charvista »

I must add that this occurs only when the last letter of the procedure name is a upper Z (not with the lower z).
- Windows 11 Home 64-bit
- PureBasic 6.10 LTS (x64)
- 64 Gb RAM
- 13th Gen Intel(R) Core(TM) i9-13900K 3.00 GHz
- 5K monitor with DPI @ 200%
User avatar
skywalk
Addict
Addict
Posts: 4218
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: Procedures sorting ERROR

Post by skywalk »

No, it is wrong wherever Z occurs.

Code: Select all

;bla
;bla
Define i
Procedure dZqe()
EndProcedure
Procedure dm()
EndProcedure
Procedure dz()
EndProcedure
Procedure d()
EndProcedure
Procedure dQf()
EndProcedure
Procedure dQe()
EndProcedure
;bla
;bla
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
User avatar
charvista
Addict
Addict
Posts: 949
Joined: Tue Sep 23, 2008 11:38 pm
Location: Belgium

Re: Procedures sorting ERROR

Post by charvista »

Hi Skywalk,
Indeed, it occurs even when Z is in the middle of a procedure name. Well seen ! :wink:
- Windows 11 Home 64-bit
- PureBasic 6.10 LTS (x64)
- 64 Gb RAM
- 13th Gen Intel(R) Core(TM) i9-13900K 3.00 GHz
- 5K monitor with DPI @ 200%
Post Reply