Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create Table From Array
Message
From
14/09/1999 11:55:07
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
14/09/1999 11:47:36
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00264400
Message ID:
00264517
Views:
21
Totally agree Doug. I also do "array tricks" a lot especially in FP2.x days. Just wanted to remind there may be times that this is a shortcut.
Cetin


>Hi Cetin.
>
>>create table myTable (myField c(25), mySecondField i, my3rd d, my4th l ...)
>>
>>fits better (less coding + easy reading
>
>I agree. However, there are times when using an array is easier or better. For example, it's easier to fill an array with variable information (such as user-specific) than to build a string. Also, creating a table with a lot of fields (like an FRX) can cause an error because the command gets too long, whereas using an array works fine.
>
>Doug
Ç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
Reply
Map
View

Click here to load this message in the networking platform