Converter de Clipper para Harbour
Enviado: 17 Fev 2015 15:01
Leiam os posts sobre Linux!!! falam que já leram tudo mas fazem perguntas que já tem respostas.
https://pctoledo.org/forum/viewto ... =4&t=15027
Aqui mais perguntas, parecidas que já fizeram antes.
O pessoal não sabe p/ que serve o comando & no Linux.
\>minha_applinux& é diferente de rodar \>minha_applinux
https://www.mail-archive.com/harbour@ha ... 30894.html
http://ubuntuforums.org/showthread.php?t=2035652
Tem várias.
Saudações,
Itamar M. Lins Jr.
https://pctoledo.org/forum/viewto ... =4&t=15027
Aqui mais perguntas, parecidas que já fizeram antes.
O pessoal não sabe p/ que serve o comando & no Linux.
\>minha_applinux& é diferente de rodar \>minha_applinux
https://www.mail-archive.com/harbour@ha ... 30894.html
http://ubuntuforums.org/showthread.php?t=2035652
Tem várias.
Código: Selecionar todos
#include "hbgtinfo.ch"
#include "inkey.ch"
PROCEDURE Main()
#if defined( __HBSCRIPT__HBSHELL )
#if defined( __PLATFORM__WINDOWS )
hbshell_gtSelect( "GTWVT" )
#elif defined( __PLATFORM__UNIX )
hbshell_gtSelect( "GTXWC" )
#endif
#endif
IF hb_gtInfo( HB_GTI_ISGRAPHIC )
hb_gtInfo( HB_GTI_FONTNAME, "Lucida Console" )
ELSE
? "launch me under a graphical GT"
RETURN
ENDIF
? "GT" + hb_gtVersion(), "test"
? hb_gtInfo( HB_GTI_ISFULLSCREEN, .T. ), "we should be on full screen"
WAIT
? hb_gtInfo( HB_GTI_ISFULLSCREEN, .F. ), "we should be windowed"
? hb_gtInfo( HB_GTI_ALTENTER, .T. ), "<Alt+Enter> is now enabled, try it"
DO WHILE Inkey( 0 ) != K_ESC
? Row()
ENDDO
RETURN
Itamar M. Lins Jr.