read text

From DavinciWiki
Jump to: navigation, search


Description

Read a text file into a byte array

Arguments and Return Values

Arguments: A filename

Return Value: An array of byte numbers

Usage

Syntax: read_text(filename=STRING)

Examples

dv> write("hello","read_text.txt",ascii)

dv> a=read_text("read_text.txt")
5x1x1 array of byte, bsq format [5 bytes]
104     101     108     108     111

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-08-2006

Personal tools