//Faza Y: Listare documentatie

aMes := {}
AADD (aMes, "")
AADD (aMes, "Aceasta comanda presupune o legatura functionala")
AADD (aMes, "la internet!")
AADD (aMes, "Vizualizeaza fisierul in format pdf")
AADD (aMes, "in browserul implicit din sistemul de operare")
AADD (aMes, "")

aMesOpt :=  {aMes, {" Continuare ", " Abandon "}}

wMes :=  h_NewOptions("O",                                            ;
         ,,,,                                                         ;
         NIL,"*", aMesOpt,{1})

IIF(!h_PopUpWindow (wMes) .OR. wMes[13,1] != 1, Abandon(), NIL)

x_os    := h_Os("l")
sfisnou := "http://hamor.ro/doc/hmarfa/lib/exe/fetch.php?media=upgrade:nou_v88c.pdf"

#IF x_os = "linux_wp" 
    h_MemoWrit(h_AddPath("NOUV87B"+h_StatId()+".CMD",h_FilePathes[fil_scat]),        ;
               "[RUN]"                                            +Chr(13)+Chr(10)+ ;
               "MODE=/MAX"                                        +Chr(13)+Chr(10)+ ;
               "DIRECTORY="                                       +Chr(13)+Chr(10)+ ;
               "EXE="+sfisnou                                     +Chr(13)+Chr(10)+ ;
               "PARAMETERS="                                      +Chr(13)+Chr(10))
#ELSEIF "linux" $ Lower(h_Build()) .AND. x_os = "linux"
    h_DOS("xdg-open "+sfisnou,.T.)
#ELSEIF x_os = "windows_nt"
    h_Dos("CMD /C START "+sfisnou)
#ELSE
    h_DOS("START "+sfisnou,.T.)
#ENDIF
