[Gambas-user] VB to Gambas

infobriefkasten at ...851... infobriefkasten at ...851...
Sat Feb 19 18:00:55 CET 2005


Hey there,

I want to convert my VisualBasic Project to Gambas.

I use in VB following code:

Public Type ProgType
    Name As String
    Pfad As String
    Verzeichnis As String
End Type 
Global Prog1 as ProgType
Global Prog2 as ProgType

so i can use it like:

Prog1.Name = "Editor"
Prog1.Pfad = "c:\windows\editor.exe"
Prog1.Verzeichnis = "c:\windows\"
...
Prog2.Name = "notepad"
Prog2.Pfad = "c:\windows\notepad.exe"
Prog2.Verzeichnis = "c:\windows\"

....an so on.

How can i declare and handle it in gambas??

Thanks a lot

-- 
Lassen Sie Ihren Gedanken freien Lauf... z.B. per FreeSMS
GMX bietet bis zu 100 FreeSMS/Monat: http://www.gmx.net/de/go/mail




More information about the User mailing list