Code: Select all
[..] the flag bit "2" has to be set [...]
popupmenu(":copypath|:dp|:pp", 5:=2);Code: Select all
popupmenu(itemlist, x, y, start, count, flags, sep_itemlist, sep_item, on_cancel)
0 1 2 3 4 5So, now we can skip a number of parameters of a function: define a new starting point for indexing parameters, and continue from there.
But apparently this can be used only once in a function definition and everything else afterwards is forcibly ignored.
Code: Select all
//replace(string, search, replacement, matchcase, start, count)
// 0 1 2 3 4 5
replace("XabXcdXef", "X", "|", 4:=2, 1 );
replace("XabXcdXef", "X", "|", 4:=2, 5:=1 );
XYplorer Beta Club