Search found 2771 matches
- 26 Sep 2023 13:06
- Forum: Tips & Tricks, Questions & Answers
- Topic: Variable expansion inside associative array definition
- Replies: 2
- Views: 188
Re: Variable expansion inside associative array definition
Wasn't it so that array() defines to not allow/support variables?
- 10 Sep 2023 12:49
- Forum: Wishes
- Topic: Dereference opereator in interpolation
- Replies: 12
- Views: 574
Re: Dereference opereator in interpolation
OK:
I thought about a wish for
(...I know what to do if a new script of mine starts to show
...and in the end it's only a few.
(The end: I will be out now.)
aid;
in each script (needing interpolation).I thought about a wish for
settingP aid 1;
- but if it's only me...(...I know what to do if a new script of mine starts to show
*$varname
)...and in the end it's only a few.
(The end: I will be out now.)
- 10 Sep 2023 12:34
- Forum: Wishes
- Topic: Dereference opereator in interpolation
- Replies: 12
- Views: 574
Re: Dereference opereator in interpolation
You are right: I misinterpreted the dflt of AID as the general dflt of this setting! (Though the first chapter does explain it :oops: ) (But I must say: I liked it!) Before next misunderstanding: is AID only for the current script, or is it permanent? (As you don't mention a .ini-setting it seems to...
- 10 Sep 2023 12:05
- Forum: Wishes
- Topic: Dereference opereator in interpolation
- Replies: 12
- Views: 574
Re: Dereference opereator in interpolation
Thanks for the hint! It seems nothing changed for a new installation. That means: a new installation does not work with (all/some) old scripts. Bad for new users downloading old scripts :-( Wouldn't it be helpful to define AID as an operand of the SETTING command - so any old script could be made wo...
- 02 Sep 2023 23:11
- Forum: Script Exchange
- Topic: Sorting Audio Files Into Folder Script
- Replies: 17
- Views: 1159
Re: Sorting Audio Files Into Folder Script
But be careful: this regards all *executable* lines... ... but <<<>>> begins a group of text lines (up to >>>) - so it must be: $destinations = <<<>>> D:\New Music Library\New Music Library 2020\Dance D:\New Music Library\New Music Library 2020\Country D:\New Music Library\New Music Library 2020\Cla...
- 02 Sep 2023 12:15
- Forum: Script Exchange
- Topic: Sorting Audio Files Into Folder Script
- Replies: 17
- Views: 1159
Re: Sorting Audio Files Into Folder Script
...and in double quotes variables are resolved, so you can change: // $auditLog = "Copied: " + $item + " to: " + $target + "\n"; // can be changed to: $auditLog = "Copied: $item to: $target\n"; // for me this looks better! Only thing to look for: the character...
- 29 Aug 2023 21:07
- Forum: Tips & Tricks, Questions & Answers
- Topic: NON F3 search box on right side of screen is gone
- Replies: 10
- Views: 414
Re: NON F3 search box on right side of screen is gone
Just had a look at help:
Show the box to the left of the Status Bar: tick Window | Arrangement | Live Filter Box in Status Bar. Note that if the Address Bar is hidden then the LFB automatically goes to the Status Bar.
Does that look help?
Show the box to the left of the Status Bar: tick Window | Arrangement | Live Filter Box in Status Bar. Note that if the Address Bar is hidden then the LFB automatically goes to the Status Bar.
Does that look help?
- 12 Aug 2023 20:17
- Forum: Wishes
- Topic: Dereference opereator in interpolation
- Replies: 12
- Views: 574
Re: Dereference opereator in interpolation
1) Tested!
Will wait a bit before I delete the old/commented instructions
2) As long as there would be no ability to *prevent* recursive substitutions, I think it's OK that you didn't do it!
And once again: thanks!
Will wait a bit before I delete the old/commented instructions
2) As long as there would be no ability to *prevent* recursive substitutions, I think it's OK that you didn't do it!
And once again: thanks!
- 12 Aug 2023 12:37
- Forum: Wishes
- Topic: Dereference opereator in interpolation
- Replies: 12
- Views: 574
Re: Dereference opereator in interpolation
...but:
as there is / there seems no way to disable it, you would never be able to prevent these multiple substitutions.
edit typos
as there is / there seems no way to disable it, you would never be able to prevent these multiple substitutions.
edit typos
- 12 Aug 2023 12:30
- Forum: Wishes
- Topic: Dereference opereator in interpolation
- Replies: 12
- Views: 574
Re: Dereference opereator in interpolation
OK: a bit strange as for one '*' there can be several substitutions. There *can* be situations where it is negative - but I think more are positive. And I can think of no situation where I have a dereferenced variable containing another var name, i.e. where it would happen unexpected. So I would say...
- 12 Aug 2023 12:17
- Forum: Wishes
- Topic: Dereference opereator in interpolation
- Replies: 12
- Views: 574
Re: Dereference opereator in interpolation
To be true - I didn't really expect it. But if you don't ask...
OK: I'll be the first to test it
(Just to say: I'm the user using <<<#>>> for heredoc)
Thanks!
OK: I'll be the first to test it
(Just to say: I'm the user using <<<#>>> for heredoc)
Thanks!
- 11 Aug 2023 23:57
- Forum: Wishes
- Topic: Dereference opereator in interpolation
- Replies: 12
- Views: 574
Dereference opereator in interpolation
The dereference operator defines a restriction not to be used in interpolation, i.e. in heredoc and in double quotes. Is there a good reason for this? As it means that every time you need a deref. variable in heredoc or quotes, you must first copy it to a temp- (or dummy-)var, and refer to that in t...
- 08 Aug 2023 12:48
- Forum: Bug Reports
- Topic: [solved] Problems with dereferenced access to array-elements
- Replies: 12
- Views: 433
Re: Problems with dereferenced access to array-elements
Thiink I diidn't mention: tested
- 08 Aug 2023 12:46
- Forum: Bug Reports
- Topic: [solved] array-elements in quotes not resolved
- Replies: 3
- Views: 211
Re: array-elements in quotes not resolved
And now: tested test & prod scripts:
Thanks again!
Thanks again!
- 08 Aug 2023 11:22
- Forum: Bug Reports
- Topic: [solved] array-elements in quotes not resolved
- Replies: 3
- Views: 211
Re: array-elements in quotes not resolved
A short reply: