TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: ALL
from: CHRIS CRANFORD
date: 2003-12-23 23:28:28
subject: Parsing Routine

I'm currently working on some template routines for a program I'm
putting together and I'm running into some issues.  

What I want to do is have a template such as follows:

  -- Excert --

  %LOOP ECHOES%
  Area: %AREA.NAME% - %AREA.DESCRIPTION%
  -----------------------------------------------------------
  %LOOP ECHOFILES%
  %FILE.FILENAME:13% %FILE.FILESIZE:13% %FILE.DESCRIPTION(1):40%
  %LOOP FILEDESCRIPTION%
                              %FILE.DESCRIPTION:40%
  %ENDLOOP FILEDESCRIPTION%

  %ENDLOOP ECHOFILES%
  -----------------------------------------------------------
   %AREA.TOTALFILES% file(s) in %AREA.BYTES% byte(s)
  
  %ENDLOOP ECHOES%

  -- End Excert --

Anyone have any suggestions on how to handle the nested looping
construct?

Thanks
Chris

--- Mail-ennium/32 v1.01.301.11c/#01-0001
* Origin: Thanks for using Mail-ennium/32 (1:379/1200.0)
SEEN-BY: 633/267 270
@PATH: 379/1200 1 396/45 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.