Not in mine. There is also seems to be a discrepancy where, if I was to run that script using Scripting > Run Script, no ampersand is showing. However, using a UDC still shows an underscore.admin wrote:No? it is fixed in my version.
Scripting Bugs
Re: Scripting Bugs
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build
Windows 7/10
Always using the latest stable two-decimal build
Re: Scripting Bugs
Too bad, I get it. Anyone else happens to incur this problem?admin wrote:Cannot reproduce any bug.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build
Windows 7/10
Always using the latest stable two-decimal build
Re: Scripting Bugs
Nobody? I can reproduce it with a fresh no-install 11.20 download...zer0 wrote:Too bad, I get it. Anyone else happens to incur this problem?admin wrote:Cannot reproduce any bug.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build
Windows 7/10
Always using the latest stable two-decimal build
Re: Scripting Bugs
Am I banging my head against a wall here?zer0 wrote:Nobody? I can reproduce it with a fresh no-install 11.20 download...zer0 wrote:Too bad, I get it. Anyone else happens to incur this problem?admin wrote:Cannot reproduce any bug.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build
Windows 7/10
Always using the latest stable two-decimal build
Re: Scripting Bugs
i don't know if i checked it right, but here's what i did:
- created a button with this 2 lines of code in it;
- this gave me a drop-down menu - when i click on 1 line(for ex) it asks if i wish to create new folder;
- eventually moves selected items to curpath\Test1 & Test2.
XY 11.10.0004
- created a button with this 2 lines of code in it;
- this gave me a drop-down menu - when i click on 1 line(for ex) it asks if i wish to create new folder;
- eventually moves selected items to curpath\Test1 & Test2.
XY 11.10.0004
Win 7 SP1 x64 100% 1366x768
Re: Scripting Bugs
Bug squashed, thanks!admin wrote:Got it, fix comes.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build
Windows 7/10
Always using the latest stable two-decimal build
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Scripting Bugs
The thing was, I was looking only into the UDC menus (and fixed that earlier), but not into menus popped by a script...zer0 wrote:Bug squashed, thanks!admin wrote:Got it, fix comes.
FAQ | XY News RSS | XY Twitter
Re: Scripting Bugs
Ok, all well that ends welladmin wrote:The thing was, I was looking only into the UDC menus (and fixed that earlier), but not into menus popped by a script...zer0 wrote:Bug squashed, thanks!admin wrote:Got it, fix comes.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build
Windows 7/10
Always using the latest stable two-decimal build
Re: Scripting Bugs
Retrieving the script's icon with Self seems to be broken:
Code: Select all
"XYplorer|<xypath>\<xyexe>" Echo Self('icon');
"Auto Refresh|:autorefresh" Echo Self('icon');
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Scripting Bugs
Interesting, apparently this never worked with popup menus. Fix comes.
FAQ | XY News RSS | XY Twitter
Re: Scripting Bugs
Continue within elseif follows the wrong path.
Code: Select all
"BAD - ElseIf Echos 3, 4"
$i = 1;
while ($i++ < 5) {
if ($i < 3) { continue; }
elseif ($i > 3) { continue; }
Echo $i;
}
"GOOD - If - Echos 3"
$i = 1;
while ($i++ < 5) {
if ($i < 3) { continue; }
if ($i > 3) { continue; }
Echo $i;
}
Re: Scripting Bugs
After handling a radical heredoc which contains an odd number of either quote character if no subsequent heredoc (of either type) evens up the quote count XY attempts to execute the next multi-line comment.(This is just a demonstration - I realize the radical heredoc is not needed here.)
Code: Select all
"Bad"
$a = <<<#HD
'
#HD;
/* Test */
"Good"
$a = <<<#HD
'
#HD;
$b = <<<#HD
'
#HD;
/* Test */