home *** CD-ROM | disk | FTP | other *** search
-
-
- TPLCONV is a utility for beta versions of FAN 1.80/beta and under.
- As of version 1.90/beta, the syntax of the template files radically
- changed. During the beta period, the enhancements made to FAN
- greatly exceeded the capacity of the current "template language",
- or "macros".
-
- TPLCONV will search for any *.TPL files in the current directory,
- and create new, corresponding *.NEW files in the current directory.
- These files can then be reviewed and then copied over the original
- *.TPL template files.
-
- To run TPLCONV, simply invoke the program with no command line
- arguments (there are none available).
-
- The following chart illustrates the changes to the template macros.
- The first column is the original, "old style" macro. The second
- column is how this macro would be expressed in the "new style".
- The third column is a brief description of the macro itself.
-
- %d : [curdate] : current date in dd-mmm-yy format
- %t : [curtime] : current time in hh:mm:ss format
- -- : [curmonthname] : current date: month name (w/ DefaultMonthIndex)
- -- : [curmonthname1..9] : current date: month name using index N (1-9)
- -- : [curmonth] : current date: 2 digit month number (01-12)
- -- : [curday] : current date: 2 digit day (01-31)
- -- : [curyear] : current date: 2 digit year (i.e., "93")
- -- : [curyear4] : current date: 4 digit year (i.e., "1993")
-
- %f : [filename] : full base filename and ext (i.e., "TEST.ZIP")
- %F : [filename] : same, fixed length of 12 characters
- %p : [filepath] : path of physical file on your system
- -- : [filefullname] : file physical path and file name
- -- : [filebasename] : base filename (i.e., "TEST")
- -- : [fileext] : file extension (i.e., "ZIP")
- %b : [filesize] : file size in bytes
- %B : [filesize,RIGHT,7] : same, fixed length of 7 characters
- %k : [filesizeKB] : file size in kilobytes
- %K : [filesizeKB,RIGHT,7] : same, fixed length to 7 characters
- %o : [fileorigin] : file origin address
- %M : [filemonthname] : file date: month name (using DefaultMonthIndex)
- %Mn: [filemonthname1..9] : file date: month name using index N (1-9)
- %m : [filemonth] : file date: 2 digit month number (01-12)
- %D : [fileday] : file date: 2 digit day number (01-31)
- %y : [fileyear] : file date: 2 digit year number (i.e., "93")
- %Y : [fileyear4] : file date: 4 digit year number (i.e., "1993")
- %x : [filedesc] : file description
- %c : [filedesc,TRUNCATE,??] : same, truncated to a specific length
- %C : [filedesc,??] : same, truncated and padded to a specific length
-
- Description text delimited within margins (i.e., %n:n[x,c,C]):
- : [filedesc,MARGINS:n:n]
-
- %e : [env:varname] : environment variable (i.e., [env:username])
-
- %q : [totalsize] : total bytes in message
- %Q : [totalsizeKB] : total kilobytes in message
-
- %a : [areatagname] : tag name of file area
- %A : [areatagname,10] : same, fixed length of 10 characters