Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Beautify bug - and syntax coloring?
Message
De
24/02/2006 14:48:27
 
 
À
24/02/2006 10:58:20
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
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:
01099023
Vues:
29
This message has been marked as a message which has helped to the initial question of the thread.
>
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform