>Hiten,
> I don't mind at all. Copy it and make any modifications to fit your needs. It's your idea in the first place. BTW, I changed your color pairs, checked the commas and where I have my RGB(). The code that you posted works with default window's color scheme. It won't work under a changed color scheme, like mine. HTH.
>
>
>Wan
Hi Cheang,
The function is really cool. The only modification, I would made, instead of passing prompt1,prompt2, etc., I would use an array as a first parameter. It would be more flexible, I believe.
Thanks to you and Hiten.
If it's not broken, fix it until it is.
My Blog