Retorna o último erro encontrado ao executar a função MSParse().

Sintaxe

MSParseError()

Retorno

Nome

Tipo

Descrição

cMensagem

caractere

Retorna a mensagem de erro que ocorreu na última execução da função MSParse().

Exemplos

USER FUNCTION TEST()
  TCLink()
  
  cInput := " Create Proccedure PROC_EXAMPLE(@outStr undefined(64) OUTPUT, @outValue int OUTPUT) As " + ;
            " Begin " + ;
            "   select @outStr = 'Teste' " + ;
            "   select @outValue = 100 " + ;
            "   if " + ;
            " End "
            
  cOutput :=  MSParse(cInput, "ORACLE")
  
  conout(MSParseError())
 
  TCUnlink()
RETURN

Veja também