Prompting user not working ?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
PeterH
Posts: 2776
Joined: 21 Nov 2005 20:39
Location: Germany

Re: Prompting user not working ?

Post by PeterH »

You should count parameters from left, not from right (i.e. "the last").
W7(x64) SP1 German
( +WXP SP3 )

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: 2776
Joined: 21 Nov 2005 20:39
Location: Germany

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?
W7(x64) SP1 German
( +WXP SP3 )

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: 1932
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 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)

Post Reply