Mercurial > octave-nkf
view test/@Pork/set.m @ 12747:901d466ee55a stable release-3-4-1
Version 3.4.1 released.
* configure.ac (AC_INIT): Version is now 3.4.1.
(OCTAVE_API_VERSION_NUMBER): Now 45.
(OCTAVE_RELEASE_DATE): Now 2011-06-15.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 15 Jun 2011 10:35:37 -0400 |
parents | f9ab19428cd8 |
children |
line wrap: on
line source
function [ s ] = set( s, varargin ) propArgs = varargin; while (length(propArgs) >= 2) propName = propArgs{1}; propValue = propArgs{2}; propArgs = propArgs(3:end); switch propName case 'gurk' s.gurk = propValue; otherwise s.Spork = set(s.Spork, propName, propValue); end end end