Works as expected in 24.30.0119. Thanks for your prompt fix.
Search found 30 matches
- 24 Apr 2023 14:23
- Forum: Script Exchange
- Topic: 2 array variables seem to be the same array
- Replies: 3
- Views: 450
- 22 Apr 2023 12:06
- Forum: Script Exchange
- Topic: 2 array variables seem to be the same array
- Replies: 3
- Views: 450
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(...
- 25 Nov 2022 11:20
- Forum: Tips & Tricks, Questions & Answers
- Topic: Passing an array to a user function
- Replies: 2
- Views: 4532
Re: Passing an array to a user function
I've tested this in v23.80 and confirm that it is fixed.
Thank you.
Thank you.
- 28 Oct 2022 07:52
- Forum: Tips & Tricks, Questions & Answers
- Topic: Passing an array to a user function
- Replies: 2
- Views: 4532
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);
}
count()
statements show 2 and -1.This happens whether I pass the array by value or by reference.
What is wrong with my code, please?
- 25 Mar 2022 08:39
- Forum: Bug Reports
- Topic: Website and Help Typos
- Replies: 392
- Views: 93748
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...
- 25 Mar 2022 08:10
- Forum: Bug Reports
- Topic: Website and Help Typos
- Replies: 392
- Views: 93748
- 07 Mar 2022 17:26
- Forum: Bug Reports
- Topic: Website and Help Typos
- Replies: 392
- Views: 93748
Re: Website and Help Typos
Code: Select all
::help "idh_scripting_comref.htm#idh_sc_formatlist";
Syntax
format
f = filter (wildcards)
F = filter (no wildcards)
Is the 2nd one back to front?Examples
Filter f (no wildcards) versus F (wildcards):
- 05 Feb 2022 18:22
- Forum: Bug Reports
- Topic: Website and Help Typos
- Replies: 392
- Views: 93748
Re: Website and Help Typos
Code: Select all
::help "idh_scripting_comref.htm#idh_sc_freshhere";
::help "idh_scripting_comref.htm#idh_sc_readonlyhere";
andSyntax
freshhere
?Syntax
readonlyhere
- 27 Jan 2022 18:44
- Forum: Bug Reports
- Topic: Website and Help Typos
- Replies: 392
- Views: 93748
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";
andCode: Select all
input(... [style=s|m|w], ...)
are each missing the 'e' option listed in the styles section.notes
on style=s: ...
on style=m/w: ...
- 26 Jan 2020 22:50
- Forum: Bug Reports
- Topic: load statement failing in v20.60
- Replies: 4
- Views: 1206
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.
Thanks for looking into it for me.
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.
Thanks for looking into it for me.
- 09 Jan 2020 14:18
- Forum: Bug Reports
- Topic: load statement failing in v20.60
- Replies: 4
- Views: 1206
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?
- 01 Jan 2020 13:30
- Forum: Bug Reports
- Topic: load statement failing in v20.60
- Replies: 4
- Views: 1206
load statement failing in v20.60
Test.xys
Test2.xysload ("Test2");
Both scripts are in the same folder. In v20.40 it works, in v20.60 I get the errormsg ("Test2");
Do I need to handle things differently in v20.60 or is this a new bug?Script file 'Test2.xys' not found.
load
Test2
- 15 Mar 2019 19:49
- Forum: Bug Reports
- Topic: Website and Help Typos
- Replies: 392
- Views: 93748
Re: Website and Help Typos
Code: Select all
::help "idh_scripting_comref.htm#idh_sc_regexreplace"
Should replacement have square braces, as it is optional?Syntax
regexreplace(string, pattern, replacement, [matchcase])
...
When no replacement is defined, ...
- 15 Mar 2019 19:29
- Forum: Wishes
- Topic: Scripting: formatlist()
- Replies: 4
- Views: 1333
Re: Scripting: formatlist()
Ah, I see - you meant just using regexreplace(). I didn't realise that.
I shall have a look at your solution to fully understand it.
Thank you.
I shall have a look at your solution to fully understand it.
Thank you.
- 14 Mar 2019 19:33
- Forum: Wishes
- Topic: Scripting: formatlist()
- Replies: 4
- Views: 1333
Re: Scripting: formatlist()
Thank you for the suggestion. I've done this, which works for me:
If there is a more elegant solution please let me know.
If there is a more elegant solution please let me know.