string - add unbounded_Strings to enum ada -


i quite new programming , ada have don't know if easy thing or so, tried googling , searching site can't find it!

i want add array of strings enum (or enum_def don't know is)

first had

name_type (name1, name2, name3, name4, name5, etc) 

and did things worked

but want fill name_type (so without in it, maybe 1 starting name) array of unbounded_strings, add unbounded_strings 1 one.

so thing :

name_type () ustring_array array (1 .. 50) of unbounded_string;  in 1 .. 8 loop     ustring_array (i) := "get_name"  --  name somewhere end loop;  fill name_type strings ustring_array (not code, don't know how part ) 

so ustring_array ("name1", "name2", "name3", etc) , want name_type (name1, name2, name3, etc) individual pieces not strings

so size of name_type defined number of strings in ustring_array

is possible or asking impossible?

if read the part connected io enumeration types in arm, find more or less answer.

there solution using image attribute described here.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -