view test/classes/@Snork/plus.m @ 33637:8f0c4370af99 default tip

fix building without qscintilla * gui-settings.cc (read_lexer_settings): fixed typo, def instead of dev * settings-dialog.cc (update_lexer): dito
author Torsten Lilge <ttl-octave@mailbox.org>
date Sun, 02 Jun 2024 18:52:33 +0200
parents b1283d4c06c2
children
line wrap: on
line source

function s = plus (s1, s2)

  x1 = double (s1);
  x2 = double (s2);

  s = Snork (x1 + x2);

end