Originally posted by Cliff Nichols
View Post

TYPE UDT_DESCRIPTOR_TYPE membername as string * %somelen membertype as string * %somelen memberlength as long END TYPE local MyUDT() as UDT_DESCRIPTOR_TYPE dim MyUDT(1 to 3) MyUDT(1).membername = "StudentFirstName" MyUDT(1).membertype = "string" MyUDT(1).memberlength = 15 MyUDT(2).membername = "StudentLastName" MyUDT(2).membertype = "string" MyUDT(2).memberlength = 25 MyUDT(3).membername = "StudentID" MyUDT(3).membertype = "string" MyUDT(3).memberlength = 8 ...
TYPE DYNAMIC_UDT_TYPE MyUDT(1).membername AS MyUDT(1).membertype * MyUDT(1).memberlength MyUDT(2).membername AS MyUDT(2).membertype * MyUDT(2).memberlength MyUDT(3).membername AS MyUDT(3).membertype * MyUDT(3).memberlength END TYPE
GLOBAL MEM ALLOC size TO hMem
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, and to analyze site activity. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Leave a comment: