Prompting user not working ?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
PeterH
Posts: 2830
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Prompting user not working ?

Post by PeterH »

You should count parameters from left, not from right (i.e. "the last").

CookieMonster

Re: Prompting user not working ?

Post by CookieMonster »

Parameter two is optional, although not giving a parameter causes it to not work, therefore can I skip parameter two ?

PeterH
Posts: 2830
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Prompting user not working ?

Post by PeterH »

CookieMonster wrote:Parameter two is optional, although not giving a parameter causes it to not work, therefore can I skip parameter two ?
This would mean that parameter 2 is parameter 3 :shock:

Would you understand what is meant?

CookieMonster

Re: Prompting user not working ?

Post by CookieMonster »

PeterH wrote:
CookieMonster wrote:Parameter two is optional, although not giving a parameter causes it to not work, therefore can I skip parameter two ?
This would mean that parameter 2 is parameter 3 :shock:

Would you understand what is meant?
If parameter 2 is optional, then how can you bypass this parameter ?

RalphM
Posts: 2122
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Prompting user not working ?

Post by RalphM »

Have a look at the last example for confirm() in the help which shows how to skip "unneeded" parameters and adapt it to your needs.
If that's too much to ask then you should probably stay away from scripting. :whistle:
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

Post Reply