Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Re-Dimension Array
Message
De
14/08/2002 03:36:51
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
13/08/2002 16:41:43
Mike Perrenoud
Computer Software Development, Inc.
Center Point, Iowa, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00689339
Message ID:
00689446
Vues:
29
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform