filemarker
Returns the character that separates a file name from a local function name.
Category: Programming > Files and Folders
Syntax
m = filemarker
Returns the marker as a character vector.
Description
Some functions accept a name of the form file>localfunction to point at a local function inside a file; the separator is the file marker. Code that builds such names can call filemarker instead of hard-coding the character.
Like filesep and pathsep, the value is fixed for the platform.
Output arguments
m- The text
'>'.
Example
Building a local function reference
m = filemarker
name = ['myfile' filemarker 'helper']
Output
m = '>'
name = 'myfile>helper'