RE : [fpc-pascal] Parsing parameters inside an interpreter

2012-05-14 Thread Ludo Brands
> > I trying to build a very small interpreter. I can type commands like: > > $ add "Luciano de Souza" luchya...@gmail.com > > Somewhere in my code, I can have something like: > > procedure parse(commandline: string; var params: array of string); > > In this case, the commandline has the forma

Re: [fpc-pascal] Parsing parameters inside an interpreter

2012-05-14 Thread Mark Morgan Lloyd
luciano de souza wrote: Hello all, I trying to build a very small interpreter. I can type commands like: $ add "Luciano de Souza" luchya...@gmail.com Somewhere in my code, I can have something like: procedure parse(commandline: string; var params: array of string); In this case, the commandl

[fpc-pascal] Parsing parameters inside an interpreter

2012-05-13 Thread luciano de souza
Hello all, I trying to build a very small interpreter. I can type commands like: $ add "Luciano de Souza" luchya...@gmail.com Somewhere in my code, I can have something like: procedure parse(commandline: string; var params: array of string); In this case, the commandline has the format: "add %