24 Out 2020 10:49
24 Out 2020 13:18
24 Out 2020 15:49
24 Out 2020 22:12
ricardosierban escreveu:não sei como fazer
25 Out 2020 22:46
26 Out 2020 13:13
// Sample directives to help translation of VBScript.
// WARNING: Line continuation _ is NOT supported.
// : LOOP becomes END so don't mix VBScript support with XBScript
// code that uses LOOP!
// : VBScript Function call without () is NOT supported.
#command ' <*x*> =>
#command Dim <vars,...> => Local <vars>
#command Set <!id!> = <exp> => <id> := <exp>
#command If <cond> Then => IF <cond>
#command Loop => End
#translate .<!id!> => :<id>
#translate Not => !
#translate And => .AND.
#translate Or => .OR.
#translate MsgBox <exp>[.<more>] => MessageBox( 0, <exp>[:<more>], "XBScript", 0 )
#translate Nothing => NIL
//#translate _ => ;
#translate & => +
#define adCmdTable 0
/* ****************************** codigo exemplo ****************************** *
' Vbscript comment.
Dim cn
Dim rs
Set cn = CreateObject( "ADODB.Connection" )
cn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.3.51;" ;
& "User Id=Admin; Data Source=ado.mdb"
cn.Open
Set rs = CreateObject( "ADODB.Recordset" )
rs.Open( "Names", cn, 0, 1, 2 )
do while not rs.eof()
MsgBox rs.Fields( "First" ).Value
rs.MoveNext()
loop
rs.Close
Set rs = Nothing
'cn.Close
Set cn = Nothing
* ****************************** codigo exemplo ****************************** */
26 Out 2020 13:24
26 Out 2020 14:50
27 Out 2020 20:45
27 Out 2020 21:31
, dá entender que Harbour é só uma ferramenta para código legado Clipper, sendo que suas capacidades vão muito, mas muito além disso, então, se nos seus vídeos for esse o rumo que vai tomar, peço que reconsidere, pois não ajudaria em nada a linguagem e as pessoas que se utilizam dela profissionalmente.Harbour só para o Clipper mesmo