|
-
Apr 14th, 2004, 06:23 PM
#1
Thread Starter
New Member
Arrays in Structs....???
Hello im having a problem with making an array in a struct. If i put
public struct HWND_ARR
{
public bool is_ACTIVE;
public string [] COMMAND_LIST_NEW ;
}
that works but.... when i try HWN_ARRAY[1].COMMAND_LIST_NEW[1] . it gives me a error becuase i have not set the arry but if i put public string []command_list_new = new string[100] it wont work cas u cant have a "=" in a struct it says somting about a bad token.. so how is it done .... any 1?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|