home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / programs / comms_networking / zonk / rawdocs / qanda < prev    next >
Encoding:
Text File  |  1999-02-10  |  969 b   |  15 lines

  1. $zonkpage 1.0
  2.  
  3. title: Common questions...
  4.  
  5. text:{<sh>...and hopefully helpful answers</sh>
  6. Of course, since I've only just released the software, the questions are yet to flood in, so to get things started I though I'd address some of the more esoteric aspects of Zonk.
  7.  
  8. <qs> I cannot get date formatting to work. Whenever I try the output is always just the format string I've used, none of the parts starting with '&' have been substituted.
  9.  
  10. <as> You are forgetting to put the 'treat as' modifier, '@' to indicate a date, on the end of the variable name. Thus the format is being treated as a string format and unless it contains a '%s' won't give your variable's value at all.
  11.  
  12. <qs> I am trying to print a number which can be in the range 0-100 with leading zeros, I'm sure I've got the format right (%3.3d) but I'm just getting garbage as output.
  13.  
  14. <as> The modifier to tell Zonk to treat the variable as an integer '#' is missing from the end of the variable name.
  15.