Search found 33 matches

by altoclef
31 Mar 2024 17:14
Forum: Tips & Tricks, Questions & Answers
Topic: Actions Back History crashes
Replies: 4
Views: 118

Re: Actions Back History crashes

As I wrote, I took a backup first. :)
by altoclef
31 Mar 2024 07:07
Forum: Tips & Tricks, Questions & Answers
Topic: Actions Back History crashes
Replies: 4
Views: 118

Re: Actions Back History crashes

Thank you for your reply, jupe. I hadn't thought about right-clicking the button; when I did so, I could display the Action Log dialog with what looked like the complete contents of action.dat down to the 'Prehistory' entry at line 0, so the file itself seemed to be readable by XY. Having taken a ba...
by altoclef
30 Mar 2024 09:49
Forum: Tips & Tricks, Questions & Answers
Topic: Actions Back History crashes
Replies: 4
Views: 118

Actions Back History crashes

Whenever I click on the Actions Back History drop down on the Undo toolbar button, XY crashes, sometimes with the error: Run-time error '9': Subscript out of range My settings are: Show last actions in toolbar button menu: Yes * Allow non-sequential undo/redo * Show options in menu: Yes I've tried t...
by altoclef
24 Apr 2023 14:23
Forum: Script Exchange
Topic: 2 array variables seem to be the same array
Replies: 3
Views: 460

Re: 2 array variables seem to be the same array

admin wrote: 23 Apr 2023 12:20 ... this was a bug, thanks for spotting it! :tup: Fixed in next beta. :cup:
Works as expected in 24.30.0119. Thanks for your prompt fix.
by altoclef
22 Apr 2023 12:06
Forum: Script Exchange
Topic: 2 array variables seem to be the same array
Replies: 3
Views: 460

2 array variables seem to be the same array

$array1 = array(); $secondArray = array(); echo "array1 has " . count($array1) . " elements<crlf>secondArray has " . count($secondArray) . " elements"; $array1ElementCount = explode($array1, "element1|element2|element3"); echo "array1 has " . count(...
by altoclef
25 Nov 2022 11:20
Forum: Tips & Tricks, Questions & Answers
Topic: Passing an array to a user function
Replies: 2
Views: 4546

Re: Passing an array to a user function

I've tested this in v23.80 and confirm that it is fixed.

Thank you.
by altoclef
28 Oct 2022 07:52
Forum: Tips & Tricks, Questions & Answers
Topic: Passing an array to a user function
Replies: 2
Views: 4546

Passing an array to a user function

Code: Select all

    $a = array("cat", "dog"); 
    echo count($a); 
    Test($a);

Code: Select all

function Test(&$array){
    echo count($array); 
}
The twocount()statements show 2 and -1.

This happens whether I pass the array by value or by reference.

What is wrong with my code, please?
by altoclef
25 Mar 2022 08:39
Forum: Bug Reports
Topic: Website and Help Typos
Replies: 392
Views: 94248

Re: Website and Help Typos

Also on https://www.xyplorer.com/support.php, I noticed in the Current Change Log line XYplorer Change Log as of 2020 That use of "as of" reads oddly to me (my first language is British English). I investigated and found https://dictionary.cambridge.org/dictionary/english/as-of, which docu...
by altoclef
25 Mar 2022 08:10
Forum: Bug Reports
Topic: Website and Help Typos
Replies: 392
Views: 94248

Re: Website and Help Typos

https://www.xyplorer.com/support.php

The Resources | PDF Help line is missing a closing ) after MB.
by altoclef
07 Mar 2022 17:26
Forum: Bug Reports
Topic: Website and Help Typos
Replies: 392
Views: 94248

Re: Website and Help Typos

Code: Select all

::help "idh_scripting_comref.htm#idh_sc_formatlist";
These look inconsistent:
Syntax

format

f = filter (wildcards)
F = filter (no wildcards)
Examples

Filter f (no wildcards) versus F (wildcards):
Is the 2nd one back to front?
by altoclef
05 Feb 2022 18:22
Forum: Bug Reports
Topic: Website and Help Typos
Replies: 392
Views: 94248

Re: Website and Help Typos

Code: Select all

::help "idh_scripting_comref.htm#idh_sc_freshhere";
::help "idh_scripting_comref.htm#idh_sc_readonlyhere";
I think the formatting for the syntax is slightly off in each case. Should it be
Syntax
freshhere
and
Syntax
readonlyhere
?
by altoclef
27 Jan 2022 18:44
Forum: Bug Reports
Topic: Website and Help Typos
Replies: 392
Views: 94248

Re: Website and Help Typos

A couple of tiny omissions in the help here:

Code: Select all

::help "idh_scripting_comref.htm#idh_sc_input";

Code: Select all

input(...  [style=s|m|w],  ...)
and
notes
on style=s:
...
on style=m/w: ...
are each missing the 'e' option listed in the styles section.
by altoclef
26 Jan 2020 22:50
Forum: Bug Reports
Topic: load statement failing in v20.60
Replies: 4
Views: 1212

Re: load statement failing in v20.60

Both scripts are in <xyscripts> folder.

v20.60.0300 gave me the error message; I tried rolling back and reinstalling and got the same error.
v20.60.0400 is working fine. :veryconfused:

Thanks for looking into it for me.
by altoclef
09 Jan 2020 14:18
Forum: Bug Reports
Topic: load statement failing in v20.60
Replies: 4
Views: 1212

Re: load statement failing in v20.60

If this is a bug, is there any chance of it being fixed in the next release, please?
by altoclef
01 Jan 2020 13:30
Forum: Bug Reports
Topic: load statement failing in v20.60
Replies: 4
Views: 1212

load statement failing in v20.60

Test.xys
load ("Test2");
Test2.xys
msg ("Test2");
Both scripts are in the same folder. In v20.40 it works, in v20.60 I get the error
Script file 'Test2.xys' not found.
load
Test2
Do I need to handle things differently in v20.60 or is this a new bug?