Differences
This shows you the differences between two versions of the page.
| documentation:language_reference:objects:spectra:properties:n [2016/09/29 11:36] – created Maurits W. Haverkort | documentation:language_reference:objects:spectra:properties:n [2025/11/20 04:20] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== N ====== | ||
| + | ### | ||
| + | unsigned integer, read only | ||
| + | ### | ||
| + | |||
| + | ### | ||
| + | If //G// is a spectrum object //G.N// returns the number of spectra in the object. | ||
| + | ### | ||
| + | |||
| + | ===== Example ===== | ||
| + | |||
| + | ### | ||
| + | Print the number of spectra calculated in the [[documentation: | ||
| + | ### | ||
| + | ==== Input ==== | ||
| + | <code Quanty Example.Quanty> | ||
| + | dofile(" | ||
| + | print(G.N) | ||
| + | </ | ||
| + | |||
| + | ==== Result ==== | ||
| + | <file Quanty_Output> | ||
| + | 3 | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | ===== Available functions ===== | ||
| + | {{indexmenu> | ||
| + | |||
| + | ===== Available methods ===== | ||
| + | {{indexmenu> | ||
| + | |||
| + | ===== Available properties ===== | ||
| + | {{indexmenu> | ||