05-25-2016
28,
0
Join Date: Aug 2014
Last Activity: 28 March 2018, 4:21 AM EDT
Posts: 28
Thanks Given: 7
Thanked 0 Times in 0 Posts
Variable logic clarification
I have one script which consists of variables number of parameter and stuckup with following logic
case:1
script:
parameteres are
username,password,P1=v1,P2=v2,P3=v3
case:2
script:
parameteres are
username,password,P1=v1,P2=v2,P3=v3,P4=v4
i will pass username,password for all the script and no of parameters after that is not fixed.It may be 3 or 4 or 5 etc
I want to store rest of parameters in a variable except username and password.
case:1 output
v=-param P1=v1 -param P2=v2 -param P3=v3
case:2 output
v=-param P1=v1 -param P2=v2 -param P3=v3 -param P4=v4