Content added Content deleted
|
|
Line 1,098: |
Line 1,098: |
|
</lang> |
|
</lang> |
|
|
|
|
|
=={{header|ooRexx}}== |
|
=={{header|Ol}}== |
⚫ |
should work with each and every REXX interpreter/compiler. |
|
⚫ |
|
|
⚫ |
|
|
⚫ |
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> |
|
⚫ |
|
|
⚫ |
<pre>v contains the empty string |
|
⚫ |
Variable w does not contain the empty string |
|
⚫ |
this is not a good test</pre> |
|
|
|
|
⚫ |
|
|
|
|
|
|
|
<lang> |
|
<lang> |
Line 1,131: |
Line 1,119: |
|
(print "the-string is NOT empty)) |
|
(print "the-string is NOT empty)) |
|
</lang> |
|
</lang> |
|
|
|
|
⚫ |
|
|
⚫ |
should work with each and every REXX interpreter/compiler. |
|
⚫ |
|
|
⚫ |
|
|
⚫ |
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> |
|
⚫ |
|
|
⚫ |
<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}}== |