Search found 2762 matches

by PeterH
04 Aug 2023 12:21
Forum: Wishes
Topic: InputSelect(), pre-select one line
Replies: 4
Views: 299

Re: InputSelect(), pre-select one line

:(
But at least a circumvention, i.e. get the (variable) full line, is possible.
(Though not nice.)
by PeterH
04 Aug 2023 12:15
Forum: Bug Reports
Topic: ForEach on array with dereferenced variable
Replies: 4
Views: 221

Re: ForEach on array with dereferenced variable

admin wrote: 04 Aug 2023 11:52 Always on the hunt, right? :) :tup:
Sorry, but no :naughty:
I really use it :biggrin:

So in this case I had no choice: had to wait for your fix to continue. No circumvention.
But no rain in the moment: first will go to the forest!

Thanks for the fix: will test later!
by PeterH
03 Aug 2023 16:01
Forum: Bug Reports
Topic: ForEach on array with dereferenced variable
Replies: 4
Views: 221

Re: ForEach on array with dereferenced variable

Trying to circumvent the problem I tried to copy the (real) array before ForEach(): $p4 = an array like before $var = '$p4'; $value = *$var; // ERROR: this assigns "" to $value As before I tested a string instead of an array: no problem! So dereference to a variable that's an array seems t...
by PeterH
03 Aug 2023 11:53
Forum: Wishes
Topic: InputSelect(), pre-select one line
Replies: 4
Views: 299

Re: InputSelect(), pre-select one line

Don, did you miss this wish :?:
by PeterH
03 Aug 2023 11:51
Forum: Bug Reports
Topic: ForEach on array with dereferenced variable
Replies: 4
Views: 221

ForEach on array with dereferenced variable

ForEach($tok, *$var) (i.e. for a string) works OK ForEach(*$var, ...) (i.e. for a dereferenced array) leads to ERROR 9 | Subscript out of range. I'm convinced the second should work - especially as the first does? Example, for string and for array: //§ Test ForEach with DeReference "Test ForEac...
by PeterH
26 Jul 2023 11:47
Forum: Bug Reports
Topic: Website and Help Typos
Replies: 392
Views: 93679

Re: Website and Help Typos

My misunderstanding? 25.7. 9:37 you reported new beta AND new help file. so about noon I downloaded the help-pdf. 25.7. 20:00 you reported the full version - then I downloaded that, too. Seems the pdf was ready only after the info about full version? Then * Updated the help file. might be a bit misl...
by PeterH
25 Jul 2023 21:41
Forum: Bug Reports
Topic: Website and Help Typos
Replies: 392
Views: 93679

Re: Website and Help Typos

Something went wrong... I always saw Windows-Help and .pdf-Help identical. So I didn't specify... I need the correct description of load() operand resource_type in the pdf... There it still contains the ' ' :cry: By the way, to the (general) difference between Win-Help and .pdf-Help: the .pdf is les...
by PeterH
23 Jul 2023 22:32
Forum: Wishes
Topic: InputSelect(), pre-select one line
Replies: 4
Views: 299

Re: InputSelect(), pre-select one line

Thought I had tested that: must be the *complete* line as specified, with Caption, Pipe & Data! (Good luck I haven't specified the Icon field :roll: ) But I think that makes no sense. When the Data field is unique enough to report what was selected - I think it should be good enough to define wh...
by PeterH
23 Jul 2023 16:56
Forum: Wishes
Topic: InputSelect(), pre-select one line
Replies: 4
Views: 299

InputSelect(), pre-select one line

OK: I have an InputSelect() with style=1024 (+8192 +16384). I want to pre-select a line by preselectitem, i.e. 10:=xxx. A line is, for example: $txt = <<<#>>> .... ↓ Delete Hardcpy-file ('$filehcp') |°hcpdel ...#>>> ; (So the filename will be resolved.) (All special chars seem to work: display is ok...
by PeterH
21 Jul 2023 17:36
Forum: Bug Reports
Topic: Website and Help Typos
Replies: 392
Views: 93679

Re: Website and Help Typos

:tup:
Thanks!
by PeterH
21 Jul 2023 14:38
Forum: Bug Reports
Topic: Website and Help Typos
Replies: 392
Views: 93679

Re: Website and Help Typos

A bit more of a real world problem: Command load 's 3rd operand is named [resource type] , i.e. 2 words. A person reading it often just doesn't notice that. But a parser trying to "understand" commands, operands, syntax description etc does :( (Yes: still working on that...) And a 2-word-o...
by PeterH
19 Jul 2023 16:33
Forum: Wishes
Topic: Tip searched: in a function get the *real* name of a parm
Replies: 9
Views: 397

Re: Tip searched: in a function get the *real* name of a parm

New beta: (in a script *without* "strange" dependencies) tested

Code: Select all

   $cbase = Self('base', -1);   $ccaption = Self('caption', -1);  // get info about caller
:arrow: :tup:

So: looks good! [cake] [tea]
by PeterH
19 Jul 2023 12:14
Forum: Wishes
Topic: Tip searched: in a function get the *real* name of a parm
Replies: 9
Views: 397

Re: Tip searched: in a function get the *real* name of a parm

I would see it the other way - first of all I need the direct caller. (Though I could live with it.) If I get "Top Level", I wouldn't know how many levels it's away. So I would always use -1, and sometimes expand (loop) up to the end. I think it would feel more natural if this is 1, 2, ......
by PeterH
19 Jul 2023 11:54
Forum: Wishes
Topic: Tip searched: in a function get the *real* name of a parm
Replies: 9
Views: 397

Re: Tip searched: in a function get the *real* name of a parm

The idea is good... ...but a change would bring problems for me: I use it in a routine that needs compatibility with (very) old and with new XY. (OK: per version() it *could* be done) And: if the most outer caller would be "XY", and caller of more outer levels were "" it even wou...