[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 264: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 326: mysqli_free_result(): Couldn't fetch mysqli_result
Pete's QBASIC Site Discuss QBasic, Freebasic, QB64 and more 2005-06-21T01:18:11-05:00 http://www.petesqbsite.com/phpBB3/app.php/feed/topic/647 2005-06-21T01:18:11-05:00 2005-06-21T01:18:11-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=5057#p5057 <![CDATA[FreeBASIC]]>
Arg, you nerd! :D It's func pointer, not funk pointer! :lol:
Shoo away!! "Funk" is Funkier.

Statistics: Posted by Guest — Tue Jun 21, 2005 1:18 am


]]>
2005-06-20T19:40:12-05:00 2005-06-20T19:40:12-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=5056#p5056 <![CDATA[FreeBASIC]]> It's func pointer, not funk pointer! :lol:

Statistics: Posted by Nodtveidt — Mon Jun 20, 2005 7:40 pm


]]>
2005-06-19T01:49:07-05:00 2005-06-19T01:49:07-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=5020#p5020 <![CDATA[Re: Perhaps I wasn't clear enough]]>
I ment functions and sub that are specific to a custom TYPE variable...Object Oriented Programming

Example

Code:

TYPE  Album    name AS STRING    caption AS STRING    FUNCTION  set_data(n$, c$)END TYPEFUNCTION set_data(n$, c$)   '  "this" is used because the function   this->name = n$          '   is specific to the variable declared   this->caption = c$       '   as type Album.END FUNCTIONso..DIM MyAlbum AS AlbumMyAlbum.set_data("my name", "my caption")     or MyAlbum->set_data("my name", "my caption")
Do I make more sense?
Can be emulated using Funk pointers.

Statistics: Posted by Guest — Sun Jun 19, 2005 1:49 am


]]>
2005-06-18T01:31:03-05:00 2005-06-18T01:31:03-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=5001#p5001 <![CDATA[FreeBASIC]]>
Rather dealing with Classes, Virtual Functions, and PolyMorphism. That's what makes Object Oriented Programming, OOP.
This is what how I have come to understand as OOP. However I suppose my question delt with OOP "commonly misunderstood." Simply, manipulating a TYPE's variable with TYPE specific functions.

Perhaps this could come to be known as simple OOP or, BASIC OOP. I would very much love to see an implementation of such a concept in FreeBASIC....

I think I've spoken too much :?

-Exodus.

Statistics: Posted by Exodus — Sat Jun 18, 2005 1:31 am


]]>
2005-06-18T01:16:55-05:00 2005-06-18T01:16:55-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=5000#p5000 <![CDATA[Perhaps I wasn't clear enough]]>
Example

Code:

TYPE  Album    name AS STRING    caption AS STRING    FUNCTION  set_data(n$, c$)END TYPEFUNCTION set_data(n$, c$)   '  "this" is used because the function   this->name = n$          '   is specific to the variable declared   this->caption = c$       '   as type Album.END FUNCTIONso..DIM MyAlbum AS AlbumMyAlbum.set_data("my name", "my caption")     or MyAlbum->set_data("my name", "my caption")
Do I make more sense?

Statistics: Posted by Exodus — Sat Jun 18, 2005 1:16 am


]]>
2005-06-18T01:04:48-05:00 2005-06-18T01:04:48-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=4999#p4999 <![CDATA[FreeBASIC]]>
Simply dealing with objects is not what Object Oriented Programming is about. A very common mistake.

Rather dealing with Classes, Virtual Functions, and PolyMorphism. That's what makes Object Oriented Programming, OOP. Otherwise even C could do OOP. Which, it can't.

Statistics: Posted by Levi — Sat Jun 18, 2005 1:04 am


]]>
2005-06-18T00:15:08-05:00 2005-06-18T00:15:08-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=4996#p4996 <![CDATA[FreeBASIC]]>
Type
Sub
Functions

Statistics: Posted by lurah- — Sat Jun 18, 2005 12:15 am


]]>
2005-06-18T00:10:20-05:00 2005-06-18T00:10:20-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=4995#p4995 <![CDATA[FreeBASIC]]>
I'm curious though. I see a lot of functionality has been added to the basic language with freebasic, but does it support TYPE SUBS and FUNCTIONS. More commonly know as Objects, in turn, Object Oriented Programming??

-Exodus

Statistics: Posted by Exodus — Sat Jun 18, 2005 12:10 am


]]>