Difference between revisions of "ISInterface:Printf"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
+ | == Syntax == | ||
+ | *void Printf(const char *Format, ...) | ||
== Purpose == | == Purpose == | ||
Uses standard printf formatting to display text in the Inner Space session console. This function is referenced by the printf define macro in ISXDK. | Uses standard printf formatting to display text in the Inner Space session console. This function is referenced by the printf define macro in ISXDK. | ||
Line 13: | Line 15: | ||
== Examples == | == Examples == | ||
+ | int age; | ||
+ | char name[50]; | ||
+ | age=30; | ||
+ | name="Fred Lincoln"; | ||
+ | printf("Name: %s Age: %d",name,age); | ||
== See Also == | == See Also == |
Latest revision as of 21:33, 2 September 2005
Syntax
- void Printf(const char *Format, ...)
Purpose
Uses standard printf formatting to display text in the Inner Space session console. This function is referenced by the printf define macro in ISXDK.
Usage
Parameters
- const char *Format
- printf formatting text, such as "ISXDK Version %X"
- ...
- Values to be used
Return Value
none
Examples
int age; char name[50]; age=30; name="Fred Lincoln"; printf("Name: %s Age: %d",name,age);