Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Re:
REVERSE RGB(0,0,0,255,255,255) to RGB(255,255,255,0,0,0)Steve,
ALines() has a delimiter parameter. You shouldn't need to StrTran() the commas.
Alan
>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,
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement