Re: [Gambas-user] vb code

2017-07-14 Thread Benoît Minisini via Gambas-user
Le 14/07/2017 à 09:27, Shane a écrit : I have some vb code i want to convert to gambas and it uses this code Private Type ID3V22HDR frameName1 As String * 3 frameSize1 As Byte frameSize2 As Byte frameSize3 As Byte End Type what would be the best way to convert this to gambas?

Re: [Gambas-user] vb code

2017-07-14 Thread d4t4full
Actually a type in VBA (old VB6 and MSOffice Basic) is not regarded as an object, it is more akin to a C Struc. All you do to use it is "Dim myVar As UserType". You use New for object classes only, and Type is not a class or object. The Private clause makes the user type definition accessible o

[Gambas-user] Weather app in Software Farm

2017-07-14 Thread Tony Morehen
I just uploaded a Weather systray app to the software farm. Comments/suggestions welcome. Enjoy. -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/sl

Re: [Gambas-user] vb code

2017-07-14 Thread Gianluigi
You can take a look at this discussion [0] Regards Gianluigi [0] http://gambas.8142.n7.nabble.com/Random-access-files-with-fixed-length-string-td50880.html 2017-07-14 10:09 GMT+02:00 adamn...@gmail.com : > Guessing without information about what a vb private type is and where and > why you would

Re: [Gambas-user] vb code

2017-07-14 Thread PICCORO McKAY Lenz
2017-07-14 3:27 GMT-04:00 Shane : > I have some vb code i want to convert to gambas and it uses this code > > Private Type ID3V22HDR >frameName1 As String * 3 >frameSize1 As Byte >frameSize2 As Byte >frameSize3 As Byte > End Type > the most close are a struc.. i mean.. in the (poo

Re: [Gambas-user] vb code

2017-07-14 Thread adamn...@gmail.com
Guessing without information about what a vb private type is and where and why you would use it , but there is a thing called a Struct in Gambas, maybe that is what you are looking for. b On Fri, 14 Jul 2017 17:27:44 +1000 Shane wrote: > I have some vb code i want to convert to gambas and it u

[Gambas-user] vb code

2017-07-14 Thread Shane
I have some vb code i want to convert to gambas and it uses this code Private Type ID3V22HDR frameName1 As String * 3 frameSize1 As Byte frameSize2 As Byte frameSize3 As Byte End Type what would be the best way to convert this to gambas? ---