Visual Basic 6 Problem

Miscellaneous Forums/General Discussion/Visual Basic 6 Problem

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

You have me a bit confused on what you are doing but...

type Contact
first_name as string
last_name as string
text as string
end type

dim contact_arr(20) as contact
contact_arr(1).text = "text 1"
contact_arr(1).first_name = "First Name 1"
contact_arr(1).last_name = "Last Name 1"

call dostuff(contact_ARR(),contact_arr(1).text)

sub dostuff(contact_arr() as contact, l_field as string)
...
end sub

(I forgot the exact type syntax, but the rest should be correct)