![]() |
|
|||||||
| 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 tried several possibilities, but I do not succeed to declare the following: an array (10) of structures; each structure consisting of two fields of the type Byte. Please help, Harry |
|
|||
|
Harry
It is equivalent to two-dimensional array: the array somename can be reffered to as somename(i,j) where the i can go from 0 to 9 and the j from 0 to 1. Example: Dim Type(No,Surname,Name,Nick,Father,Mother,Spouse,Mar riage,Sex,Fcod,Mcod,Scod,Gen,Pic,Birth,Death,Prev_ N)DB(2500) Dim Type(No,Surname,Name,Nick,Father,Mother,Spouse,Mar riage,Sex,Fcod,Mcod,Scod,Gen,Pic,Birth,Death,Prev_ N)record ....... For i = 1 To dbsize For j = 0 To 16 db(i,j) = record(j) Next Next
__________________
David Erez Ramat Hasharon, Israel |
![]() |
| 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 |
| Calculate bits and bytes | schimanski | Questions & Help Needed | 2 | 08-30-2008 03:13 PM |
| Create an array of structures | serge | Questions & Help Needed | 1 | 06-21-2008 08:55 PM |
| How to redimension an array of structures | HARRY | Code Samples & Tips | 3 | 02-20-2008 12:53 PM |
| How to convert image to an array of bytes | kolbe | Questions & Help Needed | 2 | 02-08-2008 08:43 PM |
| A few nibles, bits and bytes of silence... | Cableguy | Chit Chat | 3 | 09-13-2007 05:40 PM |