From 39a6569380d41e90b032fcbe54f4e3ec170c1976 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Mon, 13 Nov 1995 03:20:52 +0100 Subject: [PATCH] some documentation fixes Rev: doc/sprintf/sprintf:1.1.1.2 --- doc/sprintf/sprintf | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/doc/sprintf/sprintf b/doc/sprintf/sprintf index 1b00c9c0e7..bc52740140 100644 --- a/doc/sprintf/sprintf +++ b/doc/sprintf/sprintf @@ -3,7 +3,7 @@ NAME SYNTAX string sprintf(string format,mixed arg,....); - + DESCRIPTION The format string is a string containing a description of how to output the data in the rest of the arguments. This string should @@ -13,15 +13,15 @@ DESCRIPTION Modifyers: 0 Zero pad numbers (implies right justification) ! Toggle truncation - pad positive integers with a space + ' ' (space) pad positive integers with a space + pad positive integers with a plus sign - left adjusted within field size (default is right) | centered within field size = column mode if strings are greater than field size / Rough linebreak (break at exactly fieldsize instead of - between words) + between words) # table mode, print a list of '\n' separated word - (top-to-bottom order) + (top-to-bottom order) $ Inverse table mode (left-to-right order) n (where n is a number or *) a number specifies field size .n set precision @@ -36,21 +36,21 @@ DESCRIPTION _ Set width to the length of data Operators: - %% percent - %d signed decimal int - %u unsigned decimal int (doesn't really exist in lpc) - %o unsigned octal int - %x lowercase unsigned hexadecimal int - %X uppercase unsigned hexadecimal int - %c char - %f float - %g heruistically chosen representation of float - %e exponential notation float - %s string - %O any type (debug style) - %n nop - %t type of argument - %<modifyers>{format%} do a format for every index in an array. + %% percent + %d signed decimal int + %u unsigned decimal int (doesn't really exist in lpc) + %o unsigned octal int + %x lowercase unsigned hexadecimal int + %X uppercase unsigned hexadecimal int + %c char + %f float + %g heruistically chosen representation of float + %e exponential notation float + %s string + %O any type (debug style) + %n nop + %t type of argument + %<modifyers>{format%} do a format for every index in an array. EXAMPLES uLPC v1.0E-95 Running Hilfe v1.2 (Hubbe's Incremental LPC FrontEnd) -- GitLab