source: issm/trunk/src/m/classes/@pairoptions/addfield.m@ 2394

Last change on this file since 2394 was 2394, checked in by Mathieu Morlighem, 15 years ago

Added addfield.m

File size: 254 bytes
Line 
1function pairoptions=addfield(pairoptions,field,value),
2%ADDFIELD - add a field to an options list
3%
4% Usage:
5% pairoptions=addfield(pairoptions,field,value)
6
7if ischar(field),
8 pairoptions.list{end+1,1}=field;
9 pairoptions.list{end,2}=value;
10end
Note: See TracBrowser for help on using the repository browser.