Compare length of two strings: Difference between revisions

m
Fix spelling errors
(→‎OCaml: add)
m (Fix spelling errors)
Line 750:
=={{header|Forth}}==
{{works with|gforth|0.7.3}}
TraditionalyTraditionally, Forth strings are '"counted strings'" (toas opposeopposed to nul null-terminated strings fromlike C). So, there is no need to search the length, we just need to swap strings if necessary before printing.
<syntaxhighlight lang="Forth">
: say dup . ." : " type ;
Line 769:
ok
</pre>
 
 
 
=={{header|Fortran}}==
14

edits