Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
#Define variable not recognized in DynamicBackColor
Message
De
27/11/2004 18:49:13
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Divers
Thread ID:
00965154
Message ID:
00965164
Vues:
11
Undocumented side effect using []? Too bad, I feel now I should include places I used [] as potential bug sources:(
Cetin

>Jim,
>
>The compiler constant are not recognised inside string literal delimited with single or double quotes but you can use []
.DYNAMICFORECOLOR = [IIF(sortkey="A",clr_Black,] + STR(.BACKCOLOR)+')
>
>
>>I have a statement that looks like this:
>>
WITH myColumn
>>    .DYNAMICFORECOLOR='IIF(sortkey="A",clr_Black,'+STR(.BACKCOLOR)+')
>>ENDWITH
>>
>>clr_Back is defined in a #DEFINE statement in a header file set in _INCLUDE and exists at the point of the reference to .DYNAMICBACKCOLOR ... what am I missing?
>>
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform