bug in get("Tree")

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
autocart
Posts: 1422
Joined: 26 Sep 2013 15:22

bug in get("Tree")

Post by autocart »

From the help file about the syntax for get(info, [param1], [param2]):
- "Tree", [separator="|"]
List of paths present in the current tree, separated by separator. The current path is the first in the list.
Usage: Mainly useful for creating the pathlist argument for the loadtree command.
"The current path is the first in the list." -> This seems to be incorrect. It does not work on my machine.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: bug in get("Tree")

Post by bdeshi »

Code: Select all

text get("Tree", <crlf>);
Works as expected. Returns:

Code: Select all

C:\Portable\XYplorer\
C:\Sandbox\
C:\Users\
D:\
F:\
G:\
H:\
I:\
[minitree+"radically optimize tree" enabled]
C:\Portable\XYplorer\ is the current path.
Something interesting in your current path maybe?
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

autocart
Posts: 1422
Joined: 26 Sep 2013 15:22

Re: bug in get("Tree")

Post by autocart »

"all of a sudden" it works here too... :ninja: :whistle:
probably I am getting old... :( :cry: sorry
must have not seen it at first, but the linefeed-seperator definitely helped. thx, sammay.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: bug in get("Tree")

Post by bdeshi »

:)
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Post Reply