Manual Discrepancy--State=3

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
armsys
Posts: 557
Joined: 10 Mar 2012 12:40
Location: Hong Kong

Manual Discrepancy--State=3

Post by armsys »

The manual states:
Manual
Manual
XY22.jpg (41.79 KiB) Viewed 860 times
State Default = 1
State Checked = 2
State Disabled = 4
My xyscript shows differently.
Manual
Manual
XY24.jpg (4.95 KiB) Viewed 860 times
In particular, why is the caption with state=3 now shown?

Code: Select all

"Go to C:|C:|1" goto "C:\";
"Go to D:|D:|2" goto "D:\"; 
"Go to E:|E:|3" goto "E:\"; 
"Go to F:|F:|4" goto "F:\";  
Please clarify the confusion. Thanks.

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Manual Discrepancy--State=3

Post by highend »

In particular, why is the caption with state=3 now shown?
You mean: not shown?

There is no discrepancy in the help file, though...

Your script tries to make two entries (1+3) the default one. Which ofc doesn't work.

So it's a user error and still something that XY can make a bit better by:

After the first default declaration drop the 1 bit for all other following entries if they contain it.
One of my scripts helped you out? Please donate via Paypal

armsys
Posts: 557
Joined: 10 Mar 2012 12:40
Location: Hong Kong

Re: Manual Discrepancy--State=3

Post by armsys »

highend wrote:You mean: not shown?
I mean that "Go to E:|E:|3" goto "E:\"; is not shown in the menu.
Go to E: now shown
Go to E: now shown
XY24.jpg (4.95 KiB) Viewed 850 times
Question:
Why?

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Manual Discrepancy--State=3

Post by highend »

Your script tries to make two entries (1+3) the default one. Which ofc doesn't work.
One of my scripts helped you out? Please donate via Paypal

armsys
Posts: 557
Joined: 10 Mar 2012 12:40
Location: Hong Kong

Re: Manual Discrepancy--State=3

Post by armsys »

Hi Highend,
highend wrote:Your script tries to make two entries (1+3) the default one. Which ofc doesn't work.
Now I understand completely your explanation. Thank you for your patience.
Now I understand the default is already claimed by the first caption, namely, "Go to C:|C:|1" goto "C:\".

Post Reply