Transformar desde VB a Hb ?

Transformar desde VB a Hb ?

Postby dbzap » Fri May 12, 2006 9:52 pm

Como se traduce esta instruccion para la variable MyField en fw+h ?

** from VB
Dim MyField As String
MyField = Chr$(&h0A)
MyEpsonFPControl.AddDataField MyField
User avatar
dbzap
 
Posts: 189
Joined: Mon Nov 07, 2005 7:36 pm
Location: Chile

Postby R.F. » Sat May 13, 2006 12:58 am

Si estas utilizando xHarbour:

MyField := CHR(0x0A) // xHB maneja valores Hexa nativamente

Si estas utilizando harbour (no se si maneje Hexas nativos)

MyField := CHR(10) // "A" en Hexadecimal
Saludos
R.F.
R.F.
 
Posts: 840
Joined: Thu Oct 13, 2005 7:05 pm

Postby Antonio Linares » Sat May 13, 2006 8:17 am

Harbour tambien maneja valores hexadecimales nativamente :)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41940
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby dbzap » Sat May 13, 2006 2:11 pm

antonio, cual seria la expresion para harbour normal de la expresion en hexadecimal ? la misma que indica rene ?
User avatar
dbzap
 
Posts: 189
Joined: Mon Nov 07, 2005 7:36 pm
Location: Chile


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 106 guests