Implicit type conversion: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (syntax highlighting fixup automation) |
Jazzedpineda (talk | contribs) (Added EasyLang implementation) |
||
Line 643: | Line 643: | ||
0</syntaxhighlight> |
0</syntaxhighlight> |
||
=={{header|EasyLang}}== |
|||
Numbers are automatically converted to strings when used with a string variable. |
|||
<syntaxhighlight lang="easylang"> |
|||
string$ = 32 |
|||
print string$ |
|||
</syntaxhighlight> |
|||
Same goes for arrays of strings, when they are set to an array of numbers. |
|||
<syntaxhighlight lang="easylang"> |
|||
stringArray$[] = [ 16 32 64 ] |
|||
print stringArray$[1] |
|||
</syntaxhighlight> |
|||
=={{header|FreeBASIC}}== |
=={{header|FreeBASIC}}== |