02-20-2026, 01:48 AM
(This post was last modified: 02-20-2026, 01:51 AM by hsiangch_ong.)
if you think you need function pointers. program in c++. otherwise wait until this dialect of basic. develops more oop-like features.
if this is too much to take. switch to freebasic. which supports oop more or less like microsoft visual basic.
however if you really need the "advanced" graphics and sound. that qb64 phoenix provides. you need to look at what could require function pointers. try to do it in c++ or other language. because someone who thinks he/she needs function pointers. will also ask for variable number of subprogram parameters. multiple return values from function. function and operator overloading. so on and so forth. as i've said, oop-like features.
it could be handled creatively. by writing one subprogram. which has select case... end select to go through possible "mini-methods."
or handle that selection in the "main program." with many custom subprograms to choose from. the difference is that there's no need. not even in c/c++ to use pointers for it. just integers or maybe key string values. to select what should be called. (shrugs)
if this is too much to take. switch to freebasic. which supports oop more or less like microsoft visual basic.
however if you really need the "advanced" graphics and sound. that qb64 phoenix provides. you need to look at what could require function pointers. try to do it in c++ or other language. because someone who thinks he/she needs function pointers. will also ask for variable number of subprogram parameters. multiple return values from function. function and operator overloading. so on and so forth. as i've said, oop-like features.
it could be handled creatively. by writing one subprogram. which has select case... end select to go through possible "mini-methods."
or handle that selection in the "main program." with many custom subprograms to choose from. the difference is that there's no need. not even in c/c++ to use pointers for it. just integers or maybe key string values. to select what should be called. (shrugs)
hopeless addict of dying in the first few levels of two particular console viewport "roguelike" games

