Binary strings: Difference between revisions
Content added Content deleted
m (→{{header|RPL}}: formatting) |
m (→{{header|Wren}}: Changed to Wren S/H) |
||
Line 4,363: | Line 4,363: | ||
Setting a string variable to the special value ''null'' means that the variable currently has no value though it can still be assigned one later. |
Setting a string variable to the special value ''null'' means that the variable currently has no value though it can still be assigned one later. |
||
<syntaxhighlight lang=" |
<syntaxhighlight lang="wren">// create string |
||
var s = "abc" |
var s = "abc" |
||
Line 4,398: | Line 4,398: | ||
t = "def" |
t = "def" |
||
var u = s + t // "abcdef"</syntaxhighlight> |
var u = s + t // "abcdef"</syntaxhighlight> |
||
=={{header|Yabasic}}== |
=={{header|Yabasic}}== |
||
<syntaxhighlight lang="yabasic">// Rosetta Code problem: http://rosettacode.org/wiki/Binary_strings |
<syntaxhighlight lang="yabasic">// Rosetta Code problem: http://rosettacode.org/wiki/Binary_strings |