Parsing

Marco Leise Marco.Leise at gmx.de
Mon Mar 31 10:28:53 PDT 2014


Am Mon, 31 Mar 2014 04:06:38 +0000
schrieb "Joel" <joelcnz at gmail.com>:

> 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.

So what is the question?

-- 
Marco



More information about the Digitalmars-d-learn mailing list