Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
@...SAY COLOR - Function Reference
Message
 
À
14/08/2007 15:58:35
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:
01248149
Vues:
41
>This is a little weird. @ 4,1 FILL TO 10, 8 COLOR RGB(255,0,0,255,255,225) works, but ?RGB(255,0,0,255,255,225) returns an error, too many arguments.....!

I think foxpro did not actually run the RGB function in the @ commands, but parsed it, that is why you get an error when calling the function, and also why RGB(nRed, nGreen, nBlue) also works, because it defaulted the missing part.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform