>I was asked for help with a toy project - read in a plaintext file and return a random line from the file. I could do this easily with a table, but don't know enough about low level file functions to do that job easily. Can I get a kick in the right direction, please?
If lines are not longer than 254 characters, you can create a cursor with one field C(254) and use APPEND FROM
--sb--