Multichannel-systems NeuroExplorer Uživatelský manuál Strana 160

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 373
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 159
5.5.1.18. SelectFile Function
SelectFile Function
Opens File Open dialog and returns the path of the file selected in the dialog.
Syntax
string SelectFile()
Returns
Returns the path of the file selected in File Open dialog.
Comments
None
Usage
NexScript
path = SelectFile()
% path can be empty if the user pressed Cancel in file dialog
if StrLength(path) > 0
% open file for reading
file = OpenFile(path, "r")
line = ""
% read the first line of the file
ReadLine(file, line)
Trace(line)
CloseFile(file)
end
See Also
Introduction to NexScript Programming
NexScript Function Categories
Page 158
Zobrazit stránku 159
1 2 ... 155 156 157 158 159 160 161 162 163 164 165 ... 372 373

Komentáře k této Příručce

Žádné komentáře