Search found 2771 matches
- 14 Jun 2023 21:04
- Forum: Bug Reports
- Topic: [fixed] Bug on array
- Replies: 5
- Views: 186
Re: [fixed] Bug on array
OK: quick fix, quick test, quick OK! Though a question to stepping-info: in the final display of execution of an array instruction with a var as index , you at least show the new value of the array-variable, but not the real index but only the name of the index var. (What a sentence...) Could you ch...
- 14 Jun 2023 19:27
- Forum: Bug Reports
- Topic: [fixed] Bug on array
- Replies: 5
- Views: 186
Re: Bug on array
Thanks, good to hear!
Sometimes I don't listen to my own words - so I will have a try
Sometimes I don't listen to my own words - so I will have a try
- 14 Jun 2023 17:37
- Forum: Bug Reports
- Topic: [fixed] Bug on array
- Replies: 5
- Views: 186
[fixed] Bug on array
I just thought: give arrays a new chance :? So I had a line like echo "title($nr) = '$title[$nr]'."; $title[$nr] was shown as empty - though I definitly had set it to some text. Guess how much step; could help me on debugging... :blackstorm: OK: after several tests $tit = $title[$nr]; echo...
- 07 Jun 2023 12:34
- Forum: Script Exchange
- Topic: Create Folders Based on Filename and Move Files - Help Please
- Replies: 5
- Views: 569
Re: Create Folders Based on Filename and Move Files - Help Please
Hm - I think if moveto documents that it moves the selected items, it will move the (=all) selected items.
Be it in a loop or not.
So: did you read and understand the documentation?
Be it in a loop or not.
So: did you read and understand the documentation?
- 30 May 2023 23:12
- Forum: Bug Reports
- Topic: Mini-Bug (Error 5) on script error
- Replies: 2
- Views: 316
Re: Mini-Bug (Error 5) on script error
Maybe I should have protested louder then...
OK: I'll try to remember never to mention it again
OK: I'll try to remember never to mention it again
- 28 May 2023 12:30
- Forum: Bug Reports
- Topic: Mini-Bug (Error 5) on script error
- Replies: 2
- Views: 316
Mini-Bug (Error 5) on script error
This script: "Main : test" $s = "cmd(op)"; $w = "cmd"; $r = replace($s, $w, '', 1, 0); // $w -> '', a ^= A, start = 0 has a bug: start has to start with 1, 0 is not defined. Result: Error: 5 (0x00000005) Desc: Invalid procedure call or argument Dll: 0 Proc: script_EvalF...
- 26 May 2023 12:36
- Forum: Wishes
- Topic: Enhancement gettoken()
- Replies: 11
- Views: 515
Re: Enhancement gettoken()
OK: final Had a typo in *displayed* linecount. That confirms: times for 868 lines are same as for 4686 lines! Times for getTokenRange() are ~ 2-3 times of the others. Final result: The winner is: "2 * gettoken" It is full reliable, fast, and rather simple! Example: "Demo" $text ...
- 26 May 2023 00:45
- Forum: Wishes
- Topic: Enhancement gettoken()
- Replies: 11
- Views: 515
Re: Enhancement gettoken()
OK: the winner is: :party: No. First to say: it doesn't really matter - in general all methods but my old (with a gettoken() in a loop) are fine. But the first 2 have restrictions. 1) gettoken "from start" or "to end" is not to beat. But can't retrieve multiple tokens from the mi...
- 25 May 2023 17:16
- Forum: Wishes
- Topic: Enhancement gettoken()
- Replies: 11
- Views: 515
Re: Enhancement gettoken()
Thanks for the hint :tup: Can you translate the regexreplaces for me? Looks a bit as if he copies all from the first token to end, then from the 2nd to the end, and then deletes the 2nd from the 1st? (My var has about 5000 tokens = text lines.) Think I will compare it to the substr-variant, think th...
- 25 May 2023 14:29
- Forum: Wishes
- Topic: Enhancement gettoken()
- Replies: 11
- Views: 515
Re: Enhancement gettoken()
OK: full success regarding exec-time: full speed! (Had expected it to be just a bit slower.) Negative: the code doesn't really get better by switching between substring and token handling. (Till now I didn't have/use any character info about the text data, only tokens.) I think you once added token-...
- 25 May 2023 11:53
- Forum: Wishes
- Topic: Enhancement gettoken()
- Replies: 11
- Views: 515
Re: Enhancement gettoken()
OK thanks, will have a look. substr() is OK. For strpos() I must check the situation: I must be sure to exactly find the correct data - in text, where some parts can be repeated. I will see... For this there are other functions missing: translate char-number to token-nbr and vice versa. In the momen...
- 24 May 2023 12:11
- Forum: Wishes
- Topic: Enhancement gettoken()
- Replies: 11
- Views: 515
Enhancement gettoken()
I have a wish regarding the Index operand of gettoken(). The wish is to enhance Index to be a range, i.e. gettoken($string, "$from|$to", $sep) (OK: count would do as well. Could even be an additional operand?) The format is just an idea/example - I know that it's not ideal. Reason: perform...
- 15 May 2023 21:12
- Forum: Wishes
- Topic: Wish: an XY-routine to tell state of a var
- Replies: 7
- Views: 413
Re: Wish: an XY-routine to tell state of a var
Again: used it without testing.
Only to test for integer or string.
As expected: OK!
Thanks again!
Only to test for integer or string.
As expected: OK!
Thanks again!
- 15 May 2023 21:08
- Forum: Wishes
- Topic: Error on stepping-state after end of a function
- Replies: 5
- Views: 364
Re: Error on stepping-state after end of a function
Code: Select all
...
$cstep = <get stepping>;
$dings = f($cmd1, ...);
if $cstep { step; }
...
But at least: it helps to make things work as they should!
(Without it I sometimes had a 'runaway'! )
- 15 May 2023 20:58
- Forum: Wishes
- Topic: A function or variable to query stepping mode
- Replies: 7
- Views: 465
Re: A function or variable to query stepping mode
Hm - didn't test it.
Just used it.
Works fine
Thanks again!
Just used it.
Works fine
Thanks again!