Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Re-Dimension Array
Message
From
14/08/2002 03:36:51
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
13/08/2002 16:41:43
Mike Perrenoud
Computer Software Development, Inc.
Center Point, Iowa, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00689339
Message ID:
00689446
Views:
28
>Has anybody run into this before. I am re-dimensioning an array like this.
>
>lnTotFlds = aFields(paStru, "Arcapp")
>dimension paStru(lnTotFlds+1, 16)
>
>And it works when I run the exe from the desktop or explorer, but if I run the exe from the command prompt the array does not get copied when it's re-dimensioned. So when I try to create a cursor from the array I get a syntax error because all but one row of the array is set to .f. Any insight??

I do this kind of stuff often and works from anywhere all the time. I can't see initializing of elements in newly added row. By default new row elements would be all .F.
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform