![]() |
Iterate through characters of a string? - Printable Version +- Forum (https://www.boriel.com/forum) +-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12) +--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11) +---- Forum: Help & Support (https://www.boriel.com/forum/forumdisplay.php?fid=16) +---- Thread: Iterate through characters of a string? (/showthread.php?tid=813) |
Iterate through characters of a string? - slenkar - 07-28-2017 How does someone get each character of a string? (im trying to do wordwrap for a large string) oh I got the word wrap working now: Code: dim printwidth=28 Re: Iterate through characters of a string? - boriel - 07-31-2017 slenkar Wrote:How does someone get each character of a string?cool!!! 8) Yes, for ZX Spectrum, new line is CHR$(13) (I know, It's sooo 80's :roll: ) |