Multichannel-systems NeuroExplorer Manuel d'utilisateur Page 312

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 373
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 311
5.5.14.6. NumToStr Function
NumToStr Function
Converts number to string using optional format string.
Syntax
string NumToStr(number, formatString)
Parameters
Parameter Type Description
number double Number to be converted to string.
formatString string Optional format string (a standard C/C++ format
specifier).
See, for example,
http://www.cplusplus.com/reference/clibrary/cstdio/p
rintf/
Returns
Returns string representing the specified number.
Comments
None
Usage
NexScript
For example, to generate strings:
Event001, Event002, ..., Event016
use the following loop
for i=1 to 16
str = "Event0" + NumToStr(i, "%02.0f")
end
See Also
Introduction to NexScript Programming
NexScript Function Categories
Page 310
Vue de la page 311
1 2 ... 307 308 309 310 311 312 313 314 315 316 317 ... 372 373

Commentaires sur ces manuels

Pas de commentaire