Base64 encode data: Difference between revisions
→{{header|Commodore BASIC}}
(→{{header|Commdore BASIC}}: Add implementation) |
|||
Line 492:
=={{header|Commodore BASIC}}==
Assumes the source file is a PRG on disk drive device 8, writes encoded file as a SEQ to the same disk. This is all done in PETSCII; transfer out of Commodore-land will require translation of the Base64-encoded file into ASCII.
<lang basic>100 rem convert a binary file to base64
|