![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Hi
I'm reading data from a file(ini) wich as the follwing data: peaches-20 aples-15 bananas12 I defined an array like this: Dim Type(Fruit,Quantity) Basket(3) Now I whant to populate the array with the data read from the file Since this is a finite and short list I am reading line-by-line, but how do I populate the array? I tryed this r=FileRead(c1) Basket(0)=StrSplit(r,"-") But it return an error message saying that basket is not a one dimension array... Help?!
__________________
Paulo Gomes Porto, Portugal PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD PPC: Qtek9000, 1GB SD DLL Version Listing |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Nullifying an Array | mjcoon | Questions & Help Needed | 1 | 06-20-2008 06:20 PM |
| Array but not array | Cableguy | Questions & Help Needed | 1 | 09-22-2007 09:09 PM |
| Array of Array possibility? | Stellaferox | Basic4ppc Wishlist | 0 | 09-18-2007 01:16 PM |
| How to access the 2nd dimension | hung | Questions & Help Needed | 4 | 08-15-2007 05:24 AM |
| More Dimensional Array | Xardas | Questions & Help Needed | 4 | 07-01-2007 03:11 PM |