|
"Read" Function |
|
|
Reads the whole content of the specified file into the given variable. Syntax Read(file-name, variable-name [, charset])
Parameters file-name The name of the file to be read. variable-name The name of target variable that will store the content of the file. charset See Absolute or Relative Names. Examples: @// Read the content of the {APPLICATION_ROOT}\WEB-INF\log.txt into pool variable "log". Read('WEB-INF/log.txt',v:log)
@// Read the content of the C:\orders\0012.txt file into process block field "ORDER". Read('C:\orders\0012.txt', f:ORDER)
@// {C:\musteriler\0516.xml dosyasını "musteri" adlı havuz değişkenine UTF-8 karakter seti ile oku. Read('C:\musteriler\0516.xml', v:musteri, 'UTF-8')
|