Hey guys, Im trying to parse a file and get an output by giving in house. Example of the code is below
Now I can't use a hash table because it won't allow duplicate keys. I want to be able to put out all the strings when I give the input as "house" or the values of height of table when I give in table. So I want to have a group name, "table" that the program will make automatically and then put the strings in that group, an array or something. The strings have spaces too, but they are in quotation marks. Thanks!set height "house" set height "house" "string" set height "house" "string" set height "table" "string" set height "table" "string"
In reply to What would be the easier way by zee3b
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |