read lines

From DavinciWiki
Jump to: navigation, search


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

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Related Functions

Recent Core Changes

Modified On: 03-27-2006

Personal tools