view test/classdef-debug/classdef_breakpoints.m @ 33608:5fba13104493 bytecode-interpreter tip

maint: merge default to bytecode-interpreter.
author Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
date Sat, 18 May 2024 22:40:00 -0400
parents fbd7e00d3e6e
children
line wrap: on
line source

classdef classdef_breakpoints
  properties
    m_prop = [];
  endproperties
  methods
    function this = classdef_breakpoints (prop)
      this.m_prop = prop;
    endfunction
    function this = foo (this, prop)
      this.m_prop = prop;
    endfunction
    function this = bar (this)
      printf ("prop: %f\n", this.m_prop);
    endfunction
  endmethods
endclassdef

function my_subfunction (n)
  ## my_subfunction hello
  printf ("subfunction: %f\n", n);
endfunction