Anonymous user
Character codes: Difference between revisions
m
→{{header|SNOBOL4}}
Line 532:
=={{header|SNOBOL4}}==
▲Modern Snobols have built-in char( ) but not asc( ) or ord( ). Rolling either one is easy. These are based on examples in the Snobol4+ tutorial, and work with the native (1-byte) charset.
<lang SNOBOL4> define('chr(n)') :(chr_end)
|