Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ains() bug
Message
 
To
30/01/2019 14:27:22
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2003
Database:
MS SQL Server
Miscellaneous
Thread ID:
01665830
Message ID:
01665831
Views:
87
>This code
>
n=adir(a,"*.prg")
>DIMENSION a(n,6)
>ains(a, 2,2)
>LIST MEMORY like a
>doesn't work as expected, the array ends up a mess. Only the first row has a cell inserted at 2nd column, the rest not quite so. However, it works properly in Chen's VFPA. Can't find it documented on his documentation page, so reporting it here.

Hi Dragan,

It's not bug of AINS().
ADIR() return array with five columns.
DIMENSION a(n,6) destroy data in array.


MartinaJ
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform