std-ft-insert


Synopsis

(std-ft-insert <fname> <strlst> <num>)

Description

std-ft-insert inserts the stringlist as seperate lines into the textfile specified by fname after num lines.

Example

(std-ft-insert "acadfull.mnu" '("[\"F11\"]'_RTPAN") 1200)  
=> T or nil

Arguments

fname: A filename of an existing file.

strlst: A list of strings, which are inserted as lines.

num: A number (integer of real). The line number after which strlst is inserted.

Return Value

T on success or nil.

Side Effects

On success it changes the textfile.

Module

(std-require 'STDFILE)

#- SMALL

Defined in STDFILE