Jump to content

Overloaded operators: Difference between revisions

m
m (→‎{{header|Phix}}: shift [])
Line 31:
Any parameter can be integer, float, string, or sequence if it is declared as an object.
 
For example printf() can accept [a file number, format string and] a single atom or a sequence of objects, <br>
it being wise to wrap lone strings in {} to ensure you get the whole thing not just the first letter.
 
7,824

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.