.@menu = select(
(countitem(.@required[0])?"- Exchange with "+getitemname(.@required[0])+"":""),
(countitem(.@required[1])?"- Exchange with "+getitemname(.@required[1])+"":""),
(countitem(.@required[2])?"- Exchange with "+getitemname(.@required[2])+"":""),
(countitem(.@required[3])?"- Exchange with "+getitemname(.@required[3])+"":""),
(countitem(.@required[4])?"- Exchange with "+getitemname(.@required[4])+"":""),
hii how can i shorten or make an array of cases so it
Question
celeron0134
hii how can i shorten or make an array of cases so it
example i have case 1: up to case 300: and so on
thankyou in advance
switch(.@menu) {
case 1:
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.