Mehram
asked on
To know the length of a structure.
pb 10.5
If a structure contains 5 items then the length of the structure is 5.
What is the command to find the length of a structure?
If a structure contains 5 items then the length of the structure is 5.
What is the command to find the length of a structure?
I don't fully understand the question. Can you post an example structure definition along with what you would expect the 'length' to be?
ASKER
Take this strucure
global type str_menu from structure
distr_acc_menu m_distr_acc_menu
distr_menu m_distr_menu
distr_setup_menu m_distr_setup_menu
distr_pur_sales_menu m_distr_pur_sales_menu
end type
there are 4 menu items in this structure, hence the length is 4.
I want to know the length via script
global type str_menu from structure
distr_acc_menu m_distr_acc_menu
distr_menu m_distr_menu
distr_setup_menu m_distr_setup_menu
distr_pur_sales_menu m_distr_pur_sales_menu
end type
there are 4 menu items in this structure, hence the length is 4.
I want to know the length via script
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Just like that!!!!
I love u!!!!
I love u!!!!