Empty string: Difference between revisions

Content added Content deleted
(added otus lisp)
m (changed 'otus lisp' to 'ol')
Line 1,098: Line 1,098:
</lang>
</lang>


=={{header|ooRexx}}==
=={{header|Ol}}==
should work with each and every REXX interpreter/compiler.
<lang oorexx>v=''
w=' '
if v=='' Then Say 'v contains the empty string'<
If length(w)>0 Then Say 'Variable w does not contain the empty string'
If w='' Then Say 'this is not a good test' </lang>
{{out}}
<pre>v contains the empty string
Variable w does not contain the empty string
this is not a good test</pre>

=={{header|Otus Lisp}}==


<lang>
<lang>
Line 1,131: Line 1,119:
(print "the-string is NOT empty))
(print "the-string is NOT empty))
</lang>
</lang>

=={{header|ooRexx}}==
should work with each and every REXX interpreter/compiler.
<lang oorexx>v=''
w=' '
if v=='' Then Say 'v contains the empty string'<
If length(w)>0 Then Say 'Variable w does not contain the empty string'
If w='' Then Say 'this is not a good test' </lang>
{{out}}
<pre>v contains the empty string
Variable w does not contain the empty string
this is not a good test</pre>


=={{header|PARI/GP}}==
=={{header|PARI/GP}}==