... | @@ -10,11 +10,15 @@ They are: |
... | @@ -10,11 +10,15 @@ They are: |
|
|
|
|
|
## print and println
|
|
## print and println
|
|
|
|
|
|
|
|
```
|
|
void print(...);
|
|
void print(...);
|
|
void println(...);
|
|
void println(...);
|
|
|
|
```
|
|
|
|
|
|
These functions write to stdout and take any type of argument. println will add a newline character at the end, print will not.
|
|
These functions write to stdout and take any type of argument. println will add a newline character at the end, print will not.
|
|
|
|
|
|
With int8 and uint8, they will print the argument as a character. For all other integer types the argument is printed as a number in base 10.
|
|
With `int8` and `uint8`, they will print the argument as a character. For all other integer types the argument is printed as a number in base 10.
|
|
int8 pointers are printed as a C string.
|
|
|
|
|
|
`int8*`s are printed as C strings.
|
|
|
|
|
|
All other pointers are printed in lowercase hexadecimal, without any preceding '0x' (you can add this yourself very easily). |
|
All other pointers are printed in lowercase hexadecimal, without any preceding '0x' (you can add this yourself very easily). |
|
|
|
\ No newline at end of file |