source: trunk/SRC/Obsolete/zeroun.pro @ 325

Last change on this file since 325 was 325, checked in by pinsard, 17 years ago

modification of some headers (+some corrections) to prepare usage of the new idldoc

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 655 bytes
RevLine 
[2]1;+
[231]2;
3; @file_comments
[133]4; Send back a vector or a matrix constituate of 0 and 1 in alternation
[2]5;
[231]6; you better use <pro>zero_one</pro>
[2]7;
[133]8; @obsolete
[2]9;
[231]10; @categories
[157]11; Function, Matrix
[2]12;
[231]13; @param n1 {in}{required}
14; number of elements in the first dimension
[2]15;
[231]16; @param n2 {in}{required}
17; number of elements in the second dimension
18;
19; @returns
20; resultat
21;
22; @history
23; Sebastien Masson (smasson\@lodyc.jussieu.fr)
[133]24;                       1/12/98
[2]25;
[231]26; @version
27; $Id$
[2]28;
29;-
[231]30FUNCTION zeroun, n1,n2
31;
[114]32  compile_opt idl2, strictarrsubs
33;
[133]34  case n_params() of
35      0:return, zero_one()
36      1:return, zero_one(n1)
37      2:return, zero_one(n1, n2)
38  endcase
39
[2]40end
Note: See TracBrowser for help on using the repository browser.