Empty string: Difference between revisions
Content added Content deleted
Puppydrum64 (talk | contribs) m (→{{header|Z80 Assembly}}: typo fix and clarification) |
Puppydrum64 (talk | contribs) m (→{{header|Z80 Assembly}}: relocated lang closer) |
||
Line 3,063: | Line 3,063: | ||
ld a,b ;load B into A |
ld a,b ;load B into A |
||
or a ;compare B to zero |
or a ;compare A to zero (effectively comparing B to zero) |
||
jr z,StringIsEmpty |
jr z,StringIsEmpty |
||
;your code for what happens when MyString is not empty goes here. |
;your code for what happens when MyString is not empty goes here.</lang> |
||
=={{header|zkl}}== |
=={{header|zkl}}== |