Results 1 to 16 of 16

Thread: Beta Testers/SpeedBasic

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Okinawa, Japan
    Posts
    271

    Beta Testers/SpeedBasic

    Looking for beta testers for new basic language. No runtimes. Converts basic style lang to c++. Works with msvc6 and mingw compilers. Others coming soon.
    Also looking for developers to continue work on VisualIde.

    www.martinm.net/speedbasic.html

    Any feedback, positive or negative would be great. Please email comments.
    Thanks

  2. #2
    Addicted Member
    Join Date
    Jul 2003
    Posts
    255

    Re: Beta Testers/SpeedBasic

    A typo on the Setup.exe dialog: "Wite SpeedBasic.ini" (Write?)

    After collapsing the "Designer_generated_code" section, if you add a control, the code added is not collapsed within the section.
    ----------
    That's all for now.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Okinawa, Japan
    Posts
    271

    Re: Beta Testers/SpeedBasic

    R.a.B.B.i.T,

    Thanks for the feedback.
    I havent added the code for the Designer_generated_code to expand then collapse when needed. Ill eventually get to it, that is unless someone goes through the source and beats me to it.

    Is that the only problems you had?
    Also could you tell me what version of windows you are using. I have only XP and 2k and want to find out if it works on below 2k.

    Thanks again.

    Packetvb

  4. #4
    Frenzied Member thegreatone's Avatar
    Join Date
    Aug 2003
    Location
    Oslo, Norway. Mhz:4800 x12
    Posts
    1,333

    Re: Beta Testers/SpeedBasic

    Hi, can anyone tell me where i can get a copy of GCC ? i seem to be taken to FTP sites that have them bundled as .tar,gz files which i cannot open, aren't these linux tarballs ?

    I would really like to try out your programming language as it looks good
    Zeegnahtuer?

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Okinawa, Japan
    Posts
    271

    Re: Beta Testers/SpeedBasic

    try http://www.mingw.org/download.shtml
    You can get release candidate 3.2. I think all my testing was done on 3.1.

  6. #6

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Okinawa, Japan
    Posts
    271

    Re: Beta Testers/SpeedBasic

    thegreatone,
    Did you get it working? Did you find mingw ok?
    The lastest release on my web site is for Mingw4.1.0.

    R.a.B.B.i.T,
    Did you try it out anymore? What about the language structure itself?

    Anyone else tried it?


    Thanks

  7. #7

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Okinawa, Japan
    Posts
    271

    Re: Beta Testers/SpeedBasic

    For those that couldnt get SpeedBasic to work with Win98,
    The problems have been fixed.
    support for compiling with Borland has also been added, partially.

    packetvb

  8. #8
    Fanatic Member
    Join Date
    Oct 2004
    Posts
    751

    Re: Beta Testers/SpeedBasic

    This is amazing....

    Last time I tell people I want to create a IDE where the language is BASIC and it converts it to C++ or ASM. :\

    I wish you good luck on this.

  9. #9

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Okinawa, Japan
    Posts
    271

    Re: Beta Testers/SpeedBasic

    k1ll3rdr4g0n,

    Thanks for the encouragement.
    Just to let you know there is a problem with the Dir function not returning the correct information. Im working on it and will have it fixed in next release, hopefully.

    Also looking for some coders to create some examples, especially using classes. Any takers?

    Mr.SpeedBasic

  10. #10
    New Member
    Join Date
    Sep 2005
    Posts
    1

    Re: Beta Testers/SpeedBasic

    I discovered SpeedBasic quite accidentally, downloaded it, executed all example programs, created and executed a test app using the Visual tool, and I must say, I'm very impressed. However, I'd like to have a little info so I can test it further. Is there any documentation available. Something simple would be acceptable. For example, a list of all supported BASIC commands and their syntax. Nothing fancy mind you. Just enough to allow proper testing. A list of the GUI controls and a very simple list of the properties that you support, etc.

    Thanks... Gary.
    Last edited by gedumer; Sep 6th, 2005 at 06:51 PM.

  11. #11

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Okinawa, Japan
    Posts
    271

    Re: Beta Testers/SpeedBasic

    gedumer,

    Glad you like it. Havent had much time to continue the development of it. Thinking of OpenSourcing it.
    As for the functions that are supported.
    Since the code is converted to c++ then any c++ function should work provided you include the approriate headers.

    For functions ive included in the project that are similiar to vb.

    MsgBox(Prompt As String) As Integer
    MsgBox(Prompt As String ,ButtonStyle AS UNIT) As Integer
    MsgBox(Prompt As String ,ButtonStyle AS UNIT,Title As String) As Integer
    CurDir() As String
    ChDir(nDir As String)

    Dir(DirectoryString As String,fileAttrib As DWORD) As String 'needs work.
    Dir() As String

    'Calling Dir() continues on to search for the next file with fileAttrib.


    FileExist(somefile As String) As Boolean
    Eof(fileNumber As Integer) As Boolean

    Left(tempstr As String,pos As Integer) As String
    Right(tempstr As String,pos As Integer) As String
    Mid(tempstr As String,pos As Integer,pos As Integer) As String
    Instr(startpos As Integer,tempstr As String,findstr As String) As Integer

    InstrRev(startpos As Integer,tempstr As String,findstr As String) As Integer
    Space(numspaces As Integer) As String
    Len(tempstr As String) As Integer
    LTrim(tempstr As String) As String
    RTrim(tempstr As String) As String
    Trim(tempstr As String) As String
    UCase(tempstr As String) As String
    LCase(tempstr As String) As String

    'Split is a bit complicated. Look at the VisualIDE for use.
    Split(&iline As String,*&stringPointer As String,seperatorStr As String) As Integer

    Str(somenum As Long) As String
    FloatToStr(somenum As Double) As String
    Val(SomeStr As String) As Long
    FloatToString(somenum As Double) As String
    IntegerToString(somenum As Integer) As String
    Replace(tempstr As String,targetchar As String,replacechar As String) As String
    'inquotes ingnores anything inbetween a set of quotes.
    ReplaceExceptInQuotes(tempstr As String,targetchar As String,replacechar As String) As String
    FillString(numspaces As Integer,fillchar As String) As String

    For Forms and Controls
    They all have the following methods
    Hide() - Forms only
    Show() - Forms only
    Top() As Integer
    Left() As Integer
    Height() As Integer
    Width() As Integer

    Top (pos As Integer)
    Left (pos As Integer)
    Height (len As Integer)
    Width (len As Integer)

    SelfHwnd() As HWND
    ParentHwnd() As HWND

    All Controls also have

    FontBold(showBold As Boolean)
    FontItalic(showItalic As Boolean)
    FontUnderLine(showItalic As Boolean)
    FontSize(fontSize As Integer)
    FontName(fontNameString As String)

    BorderStyle(bStyle As Integer) '0 or 1 i think hhe
    BorderStyle() As Integer
    Text() As String
    Text(atext As String)
    SetFocus()
    Enable(Status As Boolean)
    Enable() As Boolean
    Visible() As Boolean
    Visible(Status As Boolean)

    The rest of the controls have different methods. It will take some time to go through each one and generate a list. There is the inc directory which if you know a bit of c++ you can determine what the methods are.
    Ill get to generating a full list and adding it to the web page.
    Hopefully Ill get the auto completion combobox in the ide working again.

    Also Ive added support for declare statements for calling windows api or in dlls. Check the samples directory will give ya more info on other methods and the use of the declare statement until I get to the list.

    Thanks
    Last edited by packetVB; Sep 6th, 2005 at 09:46 PM.

  12. #12

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Okinawa, Japan
    Posts
    271

    Re: Beta Testers/SpeedBasic

    Oh yea,
    If you using c++ function that take a char pointer like *char
    or APIs that take String as Argument
    youll want to inclose the String in the function CStr()
    Dim ss As String
    SomeFunction(CStr(ss))
    If the function is filling a String then you want to make sure the String can hold the data by using the Space function.

  13. #13

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Okinawa, Japan
    Posts
    271

    Re: Beta Testers/SpeedBasic

    Due to B++ becoming open source, this project will be stopped for the time until I can determine whether the B++ lang can be extended. B++ is alot more mature than my own project.
    I will be working on converting the VisualIDE over to B++.


    http://www.softpae.com/b%2B%2Bbuilder.html

  14. #14
    Fanatic Member
    Join Date
    Oct 2004
    Posts
    751

    Re: Beta Testers/SpeedBasic

    But the B++ you have to pay for correct?
    I just messed around with it, and it said I was using a demo version of B++.
    :\
    My Projects: [ Instant Messagener Client/Server ] [ VBPictochat ]

    My Sites:
    [ Datanethost ]
    [ Helpdesk ]

    Remember if my post was helpful then Rate This Post.

  15. #15

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Okinawa, Japan
    Posts
    271

    Re: Beta Testers/SpeedBasic

    k1ll3rdr4g0n,
    Looks like the bpp.exe in the bin directory is what inserts the nag screen into the exe's. I just downloaded the source and recompiled the bpp.exe and it removed the nag screen.

    packetvb

  16. #16
    Frenzied Member agmorgan's Avatar
    Join Date
    Dec 2000
    Location
    Lurking
    Posts
    1,383

    Re: Beta Testers/SpeedBasic

    I am interested in how you interpret the simple BASIC functions like INPUT and PRINT then convert them to C++
    Are you going to Open Source it?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width