Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Beautify bug - and syntax coloring?
Message
From
24/02/2006 14:48:27
 
 
To
24/02/2006 10:58:20
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01098909
Message ID:
01099023
Views:
30
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform