Hello,
I have a pattern I which contains two list items. I am able to parse list. However, as there are two lists in one pattern, data related to only 2nd list is stores.
pattern: (padding=[1,2,3,4],data = 1, size=[1,2]);
...
Best Regards,
Archana Deshmukh
[There are lots of ways to do this. You could set a flag when you see the padding or size
token to say where to store the list. Or you could allocate space dynamically;
put each list in a fixed static place as you parse it, then make a copy when you see
the ] and return it. -John]
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 65 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 08:01:26 |
| Calls: | 862 |
| Files: | 1,311 |
| D/L today: |
1 files (1,366K bytes) |
| Messages: | 264,936 |