I was very interested in this langauge mostly because it meant I would be able to program in VB6 for multiple platforms. However, I considered the speed boosting oppertunities.
I tested the speed with a simple code...
|
Source code
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
Private Sub Timer1_Timer()
r = Timer
Do Until xx = 1
Text1.Text = Val(Text1.Text) + 1
DoEvents
If Val(Text1.Text) = 100000 Then
If (Timer - r) > 0 Then
fps = (1 / (Timer - r))
End If
MsgBox (fps)
xx = 1
End If
Loop
End Sub
|
This shown that Jabaco is much faster than VB6. Naturly, however I wasn't conviced and I was wondering if someone could state whether the speed has improved.
My next question is about the use of SetPixelV. Because Jabaco has no .hdc I can't use it as I normally would. How would I go about using it?
Thank you for taking the time to read this, and thanks to any help that can be given.