Function & Argument Type(s)
|
Description
|
Example
|
newString ("%s = %d") |
String Formatting: This format is used for equating a string to
an integer.
This said string should be stored in an array. |
Format
=
newString ("%s = %d") Array
= {"John"} Array
=
Array.append (35) Text  12
=
printf (Format, Array) SEND (output, Text) prints: John = 35 |
newString ("%s%n") |
String Formatting: |
Format
=
newString ("My name is: %s%n") Text
=
printf (Format, "John") SEND (output, Text) prints: My name is: John |
newString ("%2$s") |
String Formatting: |
Format
=
newString ("%2$s") Array
= {32} Array
=
Array.append ("Hello") Text
=
printf (Format, Array) SEND (output, Text) prints: "Hello" |
newString ("%d") |
Formatting an Integer: |
Format
=
newString ("%d") Text
=
printf (Format, 93) SEND (output, Text) prints: 93 |
newString ("|%20d|") |
Formatting an Integer: |
Format
=
newString ("|%20d|") Text
=
printf (Format, 93) SEND (output, Text) prints: |
93| |
newString ("|%-20d|") |
Formatting an Integer: |
Format
=
newString ("|%-20d|") Text
=
printf (Format, 93) SEND (output, Text) prints: |93
| |
newString ("|%020d|") |
Formatting an Integer: |
Format
=
newString ("|%020d|") Text
=
printf (Format, 93) SEND (output, Text) prints: |00000000000000000093| |
newString ("|% d|") |
Formatting an Integer: |
Format
=
newString ("|% d|") Text
=
printf (Format, 93) SEND (output, Text) prints: | 93| |
newString ("|%.3f|") |
Formatting an Integer: |
Format
=
newString ("|%.3f|") Text
=
printf (Format, 93.12345) SEND (output, Text) prints: |93.123| |
newString ("|% d|") |
Formatting an Integer: |
Format
=
newString ("|% d|") Text
=
printf (Format, -36) SEND (output, Text) prints: |-36| |
newString ("|%,d|") |
Formatting an Integer:
|
Format
=
newString ("|%,d|") Text
=
printf (Format, 10000000) SEND (output, Text) prints: |10,000,000| |
newString ("|%(d|") |
Formatting an Integer: |
Format
=
newString ("|%(d|") Text
=
printf (Format, -36)
SEND (output, Text) prints: |(36)| |
newString ("|%o|") |
Formatting an Integer: |
Format
=
newString ("|%o|") Text
=
printf (Format, 93) SEND (output, Text) prints: |135| |
newString ("|%x|") |
Formatting an Integer: |
Format
=
newString ("|%x|") Text
=
printf (Format, 93)
SEND (output, Text) prints: |5d| |
newString ("|%#o|") |
Formatting an Integer: |
Format
=
newString ("|%#o|") Text
=
printf (Format, 93)
SEND (output, Text) prints: |0135| |
newString ("|%#x|") |
Formatting an Integer: |
Format
=
newString ("|%#x|") Text
=
printf (Format, 93);
SEND (output, Text) prints: |0x5d| |
newString ("|%#X|") |
Formatting an Integer: |
Format
=
newString ("|%#X|") Text
=
printf (Format, 93);
SEND (output, Text) prints: |0X5D| |
newString("|%s|") |
String Formatting: |
Format
=
newString ("|%s|") Text
=
printf (Format, "Hello World") SEND
(output, Text) prints: |Hello World| |
newString ("|%30s|") |
String Formatting: |
Format
=
newString ("|%30s|") Text
=
printf (Format, "Hello World") SEND (output, Text) prints: |
Hello World| |
newString ("|%-30s|") |
String Formatting: |
Format
=
newString ("|%-30s|") Text
=
printf (Format, "Hello World”) SEND (output, Text) prints: |Hello World
| |
newString ("|%.5s|") |
String Formatting: |
Format
=
newString ("|%.5s|") Text
=
printf (Format, "Hello World") SEND (output,
Text) prints: |Hello| |
newString ("|%30.5s|") |
String Formatting: |
Format
=
newString ("|%30.5s|") Text
=
printf (Format, "Hello World") SEND (output, Text) prints: |
Hello| |
Created with the Personal Edition of HelpNDoc: Free CHM Help documentation generator