TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: BO SCHREURS
from: JAMES VAHN
date: 1997-09-06 11:28:00
subject: Re: Array of Structures

> Now I want to fill all the elements within the array with data.
> The code below does it for the first element of the array.
> But how do I fill the second, third....tenth element?
>         mov     [Array.Field1], "A"
>         mov     [Array.Field2], 1
>         mov     [Array.Field3], 001h
Just a hunch:
        mov     bx, rec_length * element
        mov     [Array.Field1] [bx], "A"
 
--- ifmail-tx (i386 Linux)
---------------
* Origin: 300 miles East of Seattle, WA (1:346/15.1)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.