Teledyne-lecroy UWBTracer Verification Script Engine Manual Manual do Utilizador Página 73

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 95
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 72
LeCroy Corporation Verification Script Engine Manual, version 2.2
18.3 WriteString()
This function writes a text string to the file.
Format: WriteString(file_handle, text_string)
Parameters:
file_handle File “handle”
text_string Text string
Remarks:
If the file_handle parameter refers to a text file, then a trailing End-Of-Line symbol is added to the text.
In case of binary files, the End-Of-Line symbol is not added.
Example:
set file_handle = 0;
file_handle = OpenFile(“D:\\Log.txt”); # Opens text file.
# The previous contents are erased.
WriteString(file_handle, “Some Text1”); # Write text string to file.
WriteString(file_handle, “Some Text2”); # Write text string to file.
CloseFile(file_handle); # Close the file.
Page 73 of 95
Vista de página 72
1 2 ... 68 69 70 71 72 73 74 75 76 77 78 ... 94 95

Comentários a estes Manuais

Sem comentários