Páginas filhas
  • LOG_file_exist

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

Tipo

Descrição

SMALLINT

Verdadeiro se o arquivo informado for encontrado no ambiente indicado.

Exemplo

Bloco de código
languageruby
themeConfluence
linenumberstrue
#-----------------------------#
 FUNCTION LOG_fileExist_test()
#-----------------------------#
  DEFINE l_file  CHAR(250)

  LET l_file = "c:\\temp\\arquivo1.txt"


  IF LOG_file_exist(l_file,0) THEN
     CALL conout("Arquivo existe no servidor")
  ELSE
     CALL conout("Arquivo não existe no servidor")
  END IF


  IF NOT LOG_file_exist(l_file,1) THEN
     CALL conout("Arquivo não existe no client")
  ELSE
     CALL conout("Arquivo existe no client")
  END IF
END FUNCTION

...