Quantcast Programming: Purebasic Looks like a Must-Buy - digitalFAQ.com Forums [Archives]
  #1  
04-21-2004, 09:07 AM
Zyphon Zyphon is offline
Free Member
 
Join Date: Oct 2003
Location: London, England (UK)
Posts: 1,035
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks Kwag for pointing us to that PureBasic site Ive been reading a lot of stuff in their forums and I am going to download the demo of PB.

I used to program with BlitzBasic II on my Amiga and this has brought some memories back I might have a mess around with the demo and try it out as this tool looks awesome.

The visual designer is cool looking to.

I downloaded a manual for it so hopefully I can get to grips with it and compile some stuff.

If I can work this baby I will definately buy it. The price is very resonable.
__________________
Regards.

Michael.
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
04-21-2004, 06:34 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Michael,

Yes, indeed, the price is right and the performance is just awesome
Not to mention that you get ALL present platform compilers, and future platforms too
I read they are working on a Mac OS X version too
I'm sure you'll have fun with it, because I'm having a lot of fun too

-kwag
Reply With Quote
  #3  
04-21-2004, 06:50 PM
Zyphon Zyphon is offline
Free Member
 
Join Date: Oct 2003
Location: London, England (UK)
Posts: 1,035
Thanks: 0
Thanked 0 Times in 0 Posts
Yeah thanks Karl, I was reading the forum and it sounds very similar to the old Blitz Basic 2 I used on my old trusty Commodore Amiga A1200.

However PB is miles better and much more powerful it seems i was impressed by just what you could do with it.

I like the idea that once you buy it you will always get the upgrades for free much like Vmesquita is doing with DIKO.

I think I will definately try this software out id like to start making some GUI's ive always wanted to make a nice gui for a command line app.

Thanks again Karl for pointing me to PB i loved programming in BASIC and the compiler looks awesome to.
__________________
Regards.

Michael.
Reply With Quote
  #4  
04-22-2004, 02:31 PM
rhino rhino is offline
Free Member
 
Join Date: Jan 2003
Location: Back in Ireland (for a while)
Posts: 166
Thanks: 0
Thanked 0 Times in 0 Posts
I took a crazy fit and bought a license for this. I remember using AMOS on the amiga for doing some coding - fun days.

Kwag, cheers for the pointer,

Colin.
__________________
rhino
Reply With Quote
  #5  
04-22-2004, 03:14 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by rhino

Kwag, cheers for the pointer,

Colin.
Thanks Colin

Have fun

-kwag
Reply With Quote
  #6  
04-23-2004, 05:19 PM
nicksteel nicksteel is offline
Free Member
 
Join Date: Nov 2002
Posts: 863
Thanks: 0
Thanked 0 Times in 0 Posts
I've used Clipper (xbase dos compiler) for years and my programs are based upon DBF files with multiple indexes. Can Purebasic open DBF and does anyone know of a library for handling index control, etc, for DBF files under Purebasic?

For example, under Clipper, I can "SET ORDER TO name" and my multiple indices are maintained. I have had difficulties in the past trying to utilize ACCESS due the complexity of my indices and the large sizes of my databases. My applications are time/resource models with literally hundreds of thousands of records containing multiple curve points.

I can, of course, create multiple ISAM keys on each record, but the sorting time required would be something else!
Reply With Quote
  #7  
04-23-2004, 05:22 PM
Zyphon Zyphon is offline
Free Member
 
Join Date: Oct 2003
Location: London, England (UK)
Posts: 1,035
Thanks: 0
Thanked 0 Times in 0 Posts
Im wondering if there is a Manual you can buy for PB as I dont like reading PDF's (Especially ones that 400+ Pages) as after a while it takes it out on your eyes. I like to sit down and study a nice manual in book form much more relaxing.
__________________
Regards.

Michael.
Reply With Quote
  #8  
04-23-2004, 05:38 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Quote:
Originally Posted by Zyphon
Im wondering if there is a Manual you can buy for PB as I dont like reading PDF's
EXACT!
(very unconfortable, sitting on the WC, relaxing and watching PDFs using a notebook on your knees!)
Reply With Quote
  #9  
04-23-2004, 05:41 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
@nick,

PB supports ODBC v3 or better.
For XBASE (DBF files), take a look at this http://www.whitetown.com/cdbfapi/

Actually, any Windows DLL file can be accessed with PB.
So if you have a DBF handling DLL made in other languages, you should be able to "call" the functions from within PB.

@Zyphon,

PureBasic's manual comes as a .CHM file, with context sensitive help with full language referenced.
Also, you can put the file "WIN32.HLP" in the "Help" directory, and then you can also have context help on the complete Win32 API, and use it as if it were past of your source.

That's one of the most powerfull features of PB, that it let's you call C API functions A-LA Basic style

Like this:

Code:
;
; ------------------------------------------------------------
;
;   PureBasic - Win32 API example file
;
;    (c) 2001 - Fantaisie Software
;
; ------------------------------------------------------------
;
; NOTE: This file doesn't compile with the demo version ! (API Calls)
;

;
; Now, open a window, and do some stuff with it...
;

If OpenWindow(0, 100, 100, 195, 260, #PB_Window_SystemMenu, "PureBasic Window")

  ;
  ; This is the 'event loop'. All the user actions are processed here.
  ; It's very easy to understand: when an action occurs, the EventID
  ; isn't 0 and we just have to see what have happened...
  ;

  Repeat
    EventID.l = WaitWindowEvent()

    ;
    ; Here we use directly the Windows API to draw an ellipse.
    ; All the Windows® functions are supported !
    ;
  
    *DC = GetDC_(WindowID())          ; Get the output pointer
    Ellipse_(*DC, 10, 10, 100, 100)   ; Draw a filled ellipse
    ReleaseDC_(WindowID(), *DC)       ; Release the drawing output

    If EventID = #PB_EventCloseWindow  ; If the user has pressed on the close button
      Quit = 1
    EndIf

  Until Quit = 1
  
EndIf

End   ; All the opened windows are closed automatically by PureBasic
That code will create this: http://www.kvcd.net/win32.exe
Now, do that in C, and you'll know what I mean

-kwag
Reply With Quote
  #10  
04-23-2004, 05:46 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible
Quote:
Originally Posted by Zyphon
Im wondering if there is a Manual you can buy for PB as I dont like reading PDF's
EXACT!
(very unconfortable, sitting on the WC, relaxing and watching PDFs using a notebook on your knees!)
Well, actually there's a book that should be released this summer: "Learn to Program 2D Games in PureBasic" http://purebasic.myforums.net/viewtopic.php?t=10458
That should cover pretty much the basics, plus advanced stuff.
I can't wait

-kwag
Reply With Quote
  #11  
04-23-2004, 07:10 PM
Zyphon Zyphon is offline
Free Member
 
Join Date: Oct 2003
Location: London, England (UK)
Posts: 1,035
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks for the info Karl much appreciated.

I cant wait for that manual to be released im really interested in making a GUI for some command line progs and this tool looks like it can do a good job.

I did find the PDF and Word Doc manual while browsing PB forums.

Get it >Here< if you want it, really good manual with pictures and examples and it is printable (If you have 400 odd sheets of paper to waste that is ).
__________________
Regards.

Michael.
Reply With Quote
  #12  
04-23-2004, 07:16 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Zyphon

I did find the PDF and Word Doc manual while browsing PB forums.

Get it >Here< if you want it, really good manual with pictures and examples and it is printable (If you have 400 odd sheets of paper to waste that is ).
Beware, that's very old
That manual is version 3.72, and PB is up to version 3.9

-kwag
Reply With Quote
  #13  
04-24-2004, 03:00 AM
Zyphon Zyphon is offline
Free Member
 
Join Date: Oct 2003
Location: London, England (UK)
Posts: 1,035
Thanks: 0
Thanked 0 Times in 0 Posts
I thought i could get an idea from that manual of the command structure and parameters needed to use.

Is there no updated manual floating about
__________________
Regards.

Michael.
Reply With Quote
  #14  
04-24-2004, 07:49 PM
nicksteel nicksteel is offline
Free Member
 
Join Date: Nov 2002
Posts: 863
Thanks: 0
Thanked 0 Times in 0 Posts
Bought PureBasic and it looks pretty good. I have been unable to find a complete example (code & database) for using Access and dbf files. If anyone finds something, I would really appreciate. I'm trying to migrate some applications from Clipper to PureBasic. Hopefully, someone will write some xbase file functions for this.
Reply With Quote
  #15  
04-24-2004, 08:02 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Nick,

Did you do a search on their forum
http://forums.purebasic.com/

Edit: Here's something nice: http://www.xs4all.nl/~bluez/datatalk/pure1.htm


-kwag
Reply With Quote
  #16  
04-25-2004, 03:52 AM
nicksteel nicksteel is offline
Free Member
 
Join Date: Nov 2002
Posts: 863
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks, Kwag.

I have looked within the forum. It is difficult to find any information on database and file handling, especially examples. Downloaded the archive from Purebasic. Will check that out.
Reply With Quote
  #17  
04-25-2004, 03:10 PM
Zyphon Zyphon is offline
Free Member
 
Join Date: Oct 2003
Location: London, England (UK)
Posts: 1,035
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible
Quote:
Originally Posted by Zyphon
Im wondering if there is a Manual you can buy for PB as I dont like reading PDF's
EXACT!
(very unconfortable, sitting on the WC, relaxing and watching PDFs using a notebook on your knees!)
Lol, Amen to that Inc not to mention the heat from the Notepad burning my Lap.

I find a good read on the WC helps to relax the bowels also.
__________________
Regards.

Michael.
Reply With Quote
  #18  
05-06-2004, 06:11 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
@ Zyphon



@ All

Every day by getting more into that PureBasic ... I do like it more and more!
Reply With Quote
  #19  
05-06-2004, 07:07 AM
Zyphon Zyphon is offline
Free Member
 
Join Date: Oct 2003
Location: London, England (UK)
Posts: 1,035
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Inc,

Yes although that Manual was for an older version it did show some good examples of how to code certain things for PB and I like the look of it.

Once I have paid all of my bills and debts off I shall purchase the full version.

I was wondering how I would go about writing a tool that could Read IFO files in DVD's and maybe make an automated program that could make KDVD in a similar vein to ShrinkDVD Im not saying I could make such a program but it would be interesting to know how to write a prog to read IFO files so that you could choose exactly what Extras you want to include wih your movies. Any ideas
__________________
Regards.

Michael.
Reply With Quote
  #20  
05-06-2004, 07:10 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Just something you would have to read out using your appl. in case of IFOs
http://www.students.uni-marburg.de/~Klossa/ifo.html
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming: PureBasic v4.0 beta released incredible Avisynth Scripting 3 02-08-2006 07:49 AM
Programming: PureBasic 3.94 released rds_correia Avisynth Scripting 4 09-22-2005 03:09 AM
Programming: Purebasic 3.92 has been released rds_correia Avisynth Scripting 4 01-31-2005 06:17 PM
Programming: Any courses in PureBasic available? danpos Avisynth Scripting 3 11-11-2004 04:53 AM
Programming: PureBasic webbrowser rds_correia Avisynth Scripting 12 04-21-2004 04:08 AM

Thread Tools



 
All times are GMT -5. The time now is 06:06 AM  —  vBulletin © Jelsoft Enterprises Ltd