GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • » Octave core
  • » by package
  • » alphabetical

This view

  • Original page
  • New address

GeezerVison is showing octave.sourceforge.io — Function Reference: filemarker

Octave-Forge - Extra packages for GNU Octave
Home · Packages · Developers · Documentation · FAQ · Bugs · Mailing Lists · Links · Code

Navigation

Operators and Keywords

Function List:

  • » Octave core
  • » by package
  • » alphabetical

C++ API

: val = filemarker ()
: old_val = filemarker (new_val)
: filemarker (new_val, "local")

Query or set the character used to separate the filename from the subfunction names contained within the file.

By default this is the character ‘>’. This can be used in a generic manner to interact with subfunctions. For example,

help (["myfunc", filemarker, "mysubfunc"])

returns the help string associated with the subfunction mysubfunc located in the file myfunc.m.

filemarker is also useful during debugging for placing breakpoints within subfunctions or nested functions. For example,

dbstop (["myfunc", filemarker, "mysubfunc"])

will set a breakpoint at the first line of the subfunction mysubfunc.

When called from inside a function with the "local" option, the variable is changed locally for the function and any subroutines it calls. The original variable value is restored when exiting the function.

Package: octave

SourceForge.net Logo
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.