Mercurial > octave-nkf
view test/@Blork/set.m @ 12770:3666e8e6f96e stable release-3-4-2
Version 3.4.2 released.
* configure.ac (AC_INIT): Version is now 3.4.2.
(OCTAVE_RELEASE_DATE): Now 2011-06-24.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 24 Jun 2011 10:36:40 -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 'bleek' s.bleek = propValue; otherwise error([propName, ' is not a valid Blork property']); end end end