Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Beautify bug - and syntax coloring?
Message
De
24/02/2006 17:26:09
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
24/02/2006 14:48:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01098909
Message ID:
01099090
Vues:
26
>>
>>Local ix,c
>>Local Array aTest[1]
>>For ix=1 To 3
>>	Dimension aTest[ Iif(Type('aTest[1]')='C',Alen(aTest)+1,1) ]
>>	aTest[ALEN(aTest)] = Transform(m.ix)
>>Endfor
>>Display Memory Like aTest
>>
>>Keywords:Mixed, Symbols:Match first occurence
>>Beautify and bummer:(
>>PS: Not looking for a workaround, I already have. Looks like a bug to me.
>>Cetin
>
>Hi Cetin,
>If I have understood well,
>the bug is in the square brackets
>VFP count string separators without nesting,
>the result is even ( 6 ) and then C it is not within a string
>
>
>Local ix,c
>Local Array aTest[1]
>
>For ix=1 To 3
>	Dimension aTest( Iif(Type('aTest[1]')='C',Alen(aTest)+1,1) )
>	aTest[ALEN(aTest)] = Transform(m.ix)
>Endfor
>Display Memory Like aTest
>
As Fred and Sergey pointed out there is a directive to protect from the bug - the only problem left is I should remember it everytime I attempt to beautify and check places that beautify breakes:)
Cetin
Ç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