Use strtran() to convert commas to chr(10), and use alines(), and put it back together...look at one of the messages from me to you the other day...(in an RGB() thread).
>I need to create a function that will reverse an RGB settings. If it is 0,0,0,255,255,255 then make it 255,255,255,0,0,0 etc regardless of what the foreground and background settings are. The closest I can get is to using AT for the ',' in the statement and then stripping out the numbers in between and then set it again going backwards from the results. Anyone have a better idea?
>
>TIA,
Steve Gibson