Prompting user not working ?
-
PeterH
- Posts: 2830
- Joined: 21 Nov 2005 20:39
- Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%
Re: Prompting user not working ?
You should count parameters from left, not from right (i.e. "the last").
-
CookieMonster
Re: Prompting user not working ?
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 ?
This would mean that parameter 2 is parameter 3CookieMonster wrote:Parameter two is optional, although not giving a parameter causes it to not work, therefore can I skip parameter two ?
Would you understand what is meant?
-
CookieMonster
Re: Prompting user not working ?
If parameter 2 is optional, then how can you bypass this parameter ?PeterH wrote:This would mean that parameter 2 is parameter 3CookieMonster wrote:Parameter two is optional, although not giving a parameter causes it to not work, therefore can I skip parameter two ?![]()
Would you understand what is meant?
-
RalphM
- Posts: 2122
- Joined: 27 Jan 2005 23:38
- Location: Cairns, Australia
Re: Prompting user not working ?
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.
If that's too much to ask then you should probably stay away from scripting.
Ralph 
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
XYplorer Beta Club