Determine if a string has all unique characters: Difference between revisions
Content added Content deleted
(Added various BASIC dialects (BASIC256, Chipmunk Basi and PureBasic)) |
m (→EasyLang) |
||
Line 1,462: | Line 1,462: | ||
=={{header|EasyLang}}== |
=={{header|EasyLang}}== |
||
<syntaxhighlight |
<syntaxhighlight> |
||
func$ hex h . |
func$ hex h . |
||
for d in [ h div 16 h mod 16 ] |
for d in [ h div 16 h mod 16 ] |
||
Line 1,490: | Line 1,490: | ||
until s$ = "EOF" |
until s$ = "EOF" |
||
print "'" & s$ & "'" & " length " & len s$ |
print "'" & s$ & "'" & " length " & len s$ |
||
unichar s$ |
|||
print "" |
print "" |
||
. |
. |