Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Arrays
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Re: Arrays
Miscellaneous
Thread ID:
00655128
Message ID:
00655224
Views:
32
nEachID= 5
Dimension mBufArray(nEachID)  && Dimension The Array
For nID= 1 To nEachID                  && Populate the Array
    mBufArray(nID)= " "
Next
    mBufArray(1)= "John"
    mBufArray(4)= "Jane"
    mBufArray(5)= "Joe"
Display Memory Like mBufArray*
For nID= 1 To nEachID   && Cascade UserID              
    nNextID= nID + 1
    Do While mBufarray(nID)= " " 
        If nNextID > nEachID
            Exit
        EndIf
        mBufarray(nID)= mBufarray(nNextID)
        mBufarray(nNextID)= " "
        nNextID= nNextID+ 1
    EndDo
Next
Display Memory Like mBufArray*
Edgar L. Bolton, B.S. B.B.A.
Previous
Reply
Map
View

Click here to load this message in the networking platform