Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
@...SAY COLOR - Function Reference
Message
De
14/08/2007 15:39:12
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01248126
Message ID:
01248137
Vues:
31
>>Getting an error on this line. It thinks that GetRemarkColor() is an array and has an invalid subscript. It is a function and works well in other places. The return value of the function is a character RGB color set. What is the proper syntax for this in the COLOR clause? Thanks!
>>
>>
>>@ iColorCode+2,7 SAY 'Sample Color Scheme ' COLOR ( GetRemarkColor(iColorCode) )
>>
>
>Check http://msdn2.microsoft.com/en-us/library/yh90s8sw(VS.80).aspx
>
>It should be color pairs not a single color.

No, the iColorCode is simply a numeric value that is used in a CASE to set the actual RGB character string.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform