Parsing

Joel joelcnz at gmail.com
Sun Mar 30 21:06:38 PDT 2014


I've got a program that uses user input, but I'm having trouble 
with it.

Here's an example, the unenclosed numbers (1 2 3 in example) add 
entries:

0 Achievement
1 2 3 c"Won!" st"4 5 6" <- user input

(create 3 entries all with st"4 5 6")

0 Achievement
1 house [4, 5, 6]
2 rock [4, 5, 6]
3 mouse [4, 5, 6]

c"mud" <- user input

0 Achievement
1 house [4, 5, 6] mud
2 rock [4, 5, 6] mud
3 mouse [4, 5, 6] mud

So add the entries and while they are still hot, you can edit 
them.

I don't know if this an impossible ask for help, but I though I 
might get some help. I'll keep going over my code to work it out.

Thanks.


More information about the Digitalmars-d-learn mailing list