Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
string_type [2013/08/07 21:19] admin [Automatic Conversions] |
string_type [2015/10/12 00:55] admin |
||
---|---|---|---|
Line 2: | Line 2: | ||
A [[wp>String_(computer_science)|string]] is a sequence of arbitrary characters. | A [[wp>String_(computer_science)|string]] is a sequence of arbitrary characters. | ||
- | |||
- | ===== Automatic Conversions ===== | ||
- | |||
- | * **Converted from**: [[Double Type]], [[Int Type]], [[Non Negative Int Type]], [[Positive Int Type]], [[Log Tag Type]], [[Name Type]], [[Bool Type]], [[Map Filename Type]], [[Lookup Table Filename Type]], [[Table Filename Type]] and [[Weights Filename Type]]. | ||
- | |||
- | * **Converted to**: [[Name Type]], [[Double Type]], [[Index Or Name Type]], [[Map Filename Type]], [[Lookup Table Filename Type]], [[Table Filename Type]] and [[Weights Filename Type]]. | ||
===== GUI Editor ===== | ===== GUI Editor ===== | ||
Line 16: | Line 10: | ||
Strings are sequences of any characters enclosed by double quotes '"'. | Strings are sequences of any characters enclosed by double quotes '"'. | ||
+ | |||
+ | <code cpp>"Amazon"</code> | ||
+ | |||
+ | <code cpp>"North"</code> | ||
+ | |||
+ | <code cpp>"This is a example of string"</code> | ||
+ | |||
+ | <code cpp>"landscape_123 "</code> | ||
+ | |||
+ | <code cpp>"x1_and_a_name"</code> | ||
+ | |||
+ | A string can be any size long and it can also span across several lines. | ||
<code cpp> | <code cpp> | ||
- | "Amazon" | + | "This is an example of a very long string |
- | "North" | + | with multiple lines. |
- | "This is a example of string" | + | Note that line breaks do not need to marked using any special syntax." |
- | "landscape_123 " | + | |
- | "x1_and_a_name" | + | |
</code> | </code> | ||
+ | ===== Automatic Conversions ===== | ||
+ | |||
+ | * **Converted from**: [[Real Value Type]], [[Integer Value Type]], [[Non Negative Integer Value Type]], [[Positive Integer Value Type]], [[Log Tag Type]], [[Name Type]], [[Boolean Value Type]], [[Map Filename Type]], [[Lookup Table Filename Type]], [[Table Filename Type]], [[Weights Filename Type]] and [[Table Value Type]]. | ||
- | A string can be any size long. | + | * **Converted to**: [[Name Type]], [[Real Value Type]], [[Index Or Name Type]], [[Map Filename Type]], [[Lookup Table Filename Type]], [[Table Filename Type]], [[Weights Filename Type]], [[Tuple Type]] and [[Table Value Type]]. |