Páginas filhas
  • LOG_dir_exist

Versões comparadas

Chave

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

...

Tipo

Descrição

SMALLINT

Verdadeiro se o diretório informado for encontrado no ambiente indicado.

Exemplo

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

  LET l_dir = "c:\\temp\\"

  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_dir_exist(l_dir,1) THEN
     CALL conout("Arquivo não existe no client")
  ELSE
     CALL conout("Arquivo existe no client")
  END IF
END FUNCTION

...