> To test if it really works, try running this code:
> 
> Fast    'On first row in the class file
> Public Sub Main()
>   Dim i As Long
>   For i = 1 To 1000000000000
>   Next
>   Print "It works!"
> End
> 
> If it immediately prints out "It works!", it works. If the
> cpu is at 100%,
> the jit compiler is not in use.

Well, I try this:

Fast    'On first row in the class file


Public Sub Button1_Click()
Dim i As Long
  For i = 1 To 1000000000000
  Next
  Print "It works!"
End

But It didn't print immediately "It works!", and CPU4 was at 100% ! :-(

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to