select_ecoCode

selects one or more eco-codes from list

Contents

created 2018/05/31 by Bas Kooijman

Syntax

[code, s, v] = select_ecoCode

Description

Select eco-codes from a list of all possibilities. First select a type, then one or more codes. Press the Ctrl-key to add code selections in the list of codes or the Shift-key to select a whole group of codes. The type of codes in the output is coded as

  C climate
  E ecozone
  H habitat
  E embryo environment
  M migration/torpor
  F food
  G gender
  R reproduction

Input:

Output:

Remarks

uses global eco_types for codes and labels; assign eco_types with get_eco_types. Outputs code and s are empty, and v = 0, if cancel has been selected in list of types. If cancel is selected in the list of codes for a type, selection from the list of types is presented again.

Example of use

select_ecoCode