- Write the contents of the contacts series out to a contacts3.txt file with /lines. What is different now?
- Try out write/part with 20 as an argument. What does it do?
- write/seek %file new-text n (where n is a number) is used to replace the text in %file starting at position n+1. Try this out for the contacts series and replace John in the first item with Adam.
- Use save and load to store and read our contacts series in a file.
- Rewrite the appin function with a copy "" and call it several times to see the difference.
- Write a script to ask the user the currency and the format type she/he is interested in (XML or JSON). Here, you have to use the http://www.floatrates.com/daily/USD.xml format, which doesn't use query string parameters. ...
Questions
Get Learn Red - Fundamentals of Red now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.