<< max_recursion_depth interpreter functions parsestring >>

parsefile


Parse a Nelson file.


Syntax


status = parsefile(filename)

Input argument


filename

a string: a filename to parse.

Output argument


status

a string: 'script', 'function', 'error'.

Description


parsefile parse a file and returns if it is a valid script, a valid function or an error.

Example


parsefile([nelsonroot(), '/etc/startup.nls'])
parsefile([nelsonroot(), '/modules/data_structures/functions/cellstr.nlf'])

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< max_recursion_depth interpreter functions parsestring >>