read lines
From DavinciWiki
Contents: Description, Arguments, Usage, Examples, Related Functions Supported Under Version: >1.69 Current Davinci Version: 2.27 64-bit Safe: No
Description Read a text file and return it as a TEXT array
Arguments and Return Values Arguments: The path and filename as a string Return Value: A TEXT array
Usage Syntax: read_lines(filename = STRING)
Examples dv> data = read_lines("/work/knowicki/library/wiki/walrusandcarpenter.txt") Text Buffer with 3 lines of text 1: The sun was shining on the sea, shining with all it's might 2: He did his very best to make the billows smooth and bright 3: And this was odd because it was the middle of the night |
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Related Functions
Recent Core Changes Modified On: 03-27-2006 |