Good morning
when compiling with Harbour the following i get an error
SWITCH nError
CASE 0
EXIT
CASE -1
ALERT("Mauvais Paramètre")
EXIT
CASE 3
ALERT( "Ce dossier n'esiste pas " + cDir )
EXIT
CASE 5
ALERT("Accès refusé au dossier " + cDir )
EXIT
DEFAULT --------------> this is the cause of the error Error E0020 Incomplete statement or unbalanced delimiters
ALERT( "Erreur inconnue : " + ALLTRIM( STR( nError ) ) + " pour " + cDir )
END
the code is ok with xharbour , does anyone know how to fix this ?
There is a workaround by replacing the whole switch sequence with case endcase or if elseif ,
Thanks
Richard