Using WebCoRE it's easy to write data to local files as logs.
By design the written files have fixed length records and no separators.
I can't find a way to append ascii(13) to a record, no string operator exists to index non-printable characters.
How can I do this:
AppendtoFile(Filenm, $localnow + chr(13) )
The Expression is '**' and then 'Enter Key'
So basically a single quote, Enter Key, single quote.
It produces a data file like this...
/var/media/MUMPMUSIC/The Miracles - Love Machine - Pt. 1.mp3**
/var/media/MUMPMUSIC/Kim Walker-Smith - Glimpse.mp3**
/var/media/MUMPMUSIC/Andy Gibb - I Just Want To Be Your Everything.mp3**
You might glean some information from here https://community.webcore.co/t/creating-a-list-via-text-string-need-carriage-return-line-feed-enter/9141
1 Like
Thank you! Most succinct answer I've had in a long time and it worked perfectly.
Another Q if you'll forbear -
How do I initiate a case/switch block? Forgot how I did it a few years ago. Now I can't find any route to start a new block.
First, you have to have "Show advanced statements" checked...

Then "Add a switch"...
Follow the prompts from there for a CASE statement
You're a gentleman and a scholar. Thanks.