class: Stream
comment/format in:
#printf:
#printf:arguments:
#printf:with:
#printf:with:with:
#printf:with:with:with:
#printf:with:with:with:with:
#printf:with:with:with:with:with:
#printf:withAll:
--- a/extensions.st Wed Feb 19 23:33:29 2020 +0100
+++ b/extensions.st Sun Feb 23 11:37:55 2020 +0100
@@ -1964,12 +1964,12 @@
!Stream methodsFor:'writing'!
-printf:format
+printf:formatString
"C-style printing into a stream.
For smalltalk specific formats,
see documentation in PrintfScanf >> format_printf"
- format printf:#() on:self.
+ formatString printf:#() on:self.
"
Transcript printf:'Hello World\n'
@@ -1981,13 +1981,13 @@
!Stream methodsFor:'writing'!
-printf:format arguments:arguments
+printf:formatString arguments:arguments
"C-style printing into a stream.
Same as printf:withAll:, for protocol completeness.
For smalltalk specific formats,
see documentation in PrintfScanf >> format_printf"
- format printf:arguments on:self.
+ formatString printf:arguments on:self.
"
Transcript printf:'%05x %d %f %o\n' withAll:{ 123. 234*5. 1.234. 8r377 }
@@ -1999,12 +1999,12 @@
!Stream methodsFor:'writing'!
-printf:format with:argument
+printf:formatString with:argument
"C-style printing into a stream.
For smalltalk specific formats,
see documentation in PrintfScanf >> format_printf"
- format printf:{argument} on:self.
+ formatString printf:{argument} on:self.
"
Transcript printf:'%05x\n' with:12345
@@ -2013,12 +2013,12 @@
!Stream methodsFor:'writing'!
-printf:format with:argument1 with:argument2
+printf:formatString with:argument1 with:argument2
"C-style printing into a stream.
For smalltalk specific formats,
see documentation in PrintfScanf >> format_printf"
- format printf:{argument1 . argument2} on:self.
+ formatString printf:{argument1 . argument2} on:self.
"
Transcript printf:'%05x %3s\n' with:12345 with:'abc'
@@ -2027,12 +2027,12 @@
!Stream methodsFor:'writing'!
-printf:format with:argument1 with:argument2 with:argument3
+printf:formatString with:argument1 with:argument2 with:argument3
"C-style printing into a stream.
For smalltalk specific formats,
see documentation in PrintfScanf >> format_printf"
- format printf:{argument1 . argument2 . argument3} on:self.
+ formatString printf:{argument1 . argument2 . argument3} on:self.
"
Transcript printf:'%05x %3s %09s\n' with:12345 with:'abc' with:'abc'
@@ -2042,12 +2042,12 @@
!Stream methodsFor:'writing'!
-printf:format with:argument1 with:argument2 with:argument3 with:argument4
+printf:formatString with:argument1 with:argument2 with:argument3 with:argument4
"C-style printing into a stream.
For smalltalk specific formats,
see documentation in PrintfScanf >> format_printf"
- format printf:{argument1 . argument2 . argument3 . argument4} on:self.
+ formatString printf:{argument1 . argument2 . argument3 . argument4} on:self.
"
Transcript printf:'%02x %02x %02x %02x\n' with:1 with:2 with:3 with:4
@@ -2058,12 +2058,12 @@
!Stream methodsFor:'writing'!
-printf:format with:argument1 with:argument2 with:argument3 with:argument4 with:argument5
+printf:formatString with:argument1 with:argument2 with:argument3 with:argument4 with:argument5
"C-style printing into a stream.
For smalltalk specific formats,
see documentation in PrintfScanf >> format_printf"
- format printf:{argument1 . argument2 . argument3 . argument4 . argument5} on:self.
+ formatString printf:{argument1 . argument2 . argument3 . argument4 . argument5} on:self.
"
Transcript printf:'%02x %02x %02x %02x\n' with:1 with:2 with:3 with:4
@@ -2074,12 +2074,12 @@
!Stream methodsFor:'writing'!
-printf:format withAll:arguments
+printf:formatString withAll:arguments
"C-style printing into a stream.
For smalltalk specific formats,
see documentation in PrintfScanf >> format_printf"
- format printf:arguments on:self.
+ formatString printf:arguments on:self.
"
Transcript printf:'%05x %d %f %o\n' withAll:{ 123. 234*5. 1.234. 8r377 }