>>local accounts,y >>m.accounts='100,1100,200,250,3000' >> >>m.y="" >>for i=1 to getwordcount(accounts,',') >>m.y=m.y+"accounsts["+trans(i)+"]="+getwordnum(accounts,i,',')+chr(13) >>endfor >>_cliptext=m.y >>messagebox(m.y,"string in clipboard") >>>
TEXT TO y account[1]=100 account[2]=1100 account[3]=200 account[4]=250 account[5]=3000 ENDTEXTI guess this is not the solution the OP had in mind, but it is nice, anyway.
TEXT TO y account[1]='100' account[2]='1100' account[3]='200' account[4]='250' account[5]='3000' ENDTEXTat least.