====== 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:language_reference:objects:spectra:start|definitions file]] for spectra. ### ==== Input ==== dofile("definitions.Quanty") print(G.N) ==== Result ==== 3 ===== Available functions ===== {{indexmenu>../functions/#1}} ===== Available methods ===== {{indexmenu>../methods/#1}} ===== Available properties ===== {{indexmenu>.#1}}