Search found 9 matches
- Thu Dec 05, 2024 10:40 pm
- Forum: Coding Questions
- Topic: Macro coding question
- Replies: 4
- Views: 659
Re: Macro coding question
Thanks. Just getting into PureBasic (coming from PowerBasic) so right now I'm mostly experimenting how I might be able to port some of the data structures for my app. It was heavily into using Objects with PowerBasic, but that's out. I looked at a posting of a possible way to do Objects in PureBasic ...
- Thu Dec 05, 2024 10:28 pm
- Forum: Coding Questions
- Topic: Macro coding question
- Replies: 4
- Views: 659
Re: Macro coding question
Exactly what I want.
Is there a reason to have the macro to create a " ??
I tried variations with #DQUOTE$, ~"\"", etc using both + and # to concatenate strings - all failed.
Many thanks.
Is there a reason to have the macro to create a " ??
I tried variations with #DQUOTE$, ~"\"", etc using both + and # to concatenate strings - all failed.
Many thanks.
- Thu Dec 05, 2024 9:47 pm
- Forum: Coding Questions
- Topic: Macro coding question
- Replies: 4
- Views: 659
Macro coding question
I'm trying to create a macro which will call a Procedure and pass it the value of one of the macro operands as a literal (i.e. within quotes)
But so far I cannot find a syntax which works.
Here's a short sample. I want to Call the SQL procedure passing the 'Field' macro operand surrunded by quotes ...
But so far I cannot find a syntax which works.
Here's a short sample. I want to Call the SQL procedure passing the 'Field' macro operand surrunded by quotes ...
- Sat Jul 18, 2020 7:34 pm
- Forum: Coding Questions
- Topic: Using external DLLs
- Replies: 1
- Views: 681
Using external DLLs
I'm trying to migrate a PowerBasic program to PureBasic. It uses the SQLite3.DLL.
I'm having no luck trying to figure out how to access the DLL. I'd prefer to NOT use the UseSQLiteDatabase() method as I have a lot of code already set up to use the direct access to SQLite3.DLL so I don't really want ...
I'm having no luck trying to figure out how to access the DLL. I'd prefer to NOT use the UseSQLiteDatabase() method as I have a lot of code already set up to use the direct access to SQLite3.DLL so I don't really want ...
- Tue Apr 21, 2015 8:25 pm
- Forum: Coding Questions
- Topic: A design question re: Objects
- Replies: 4
- Views: 1566
Re: A design question re: Objects
spikey: infratec: OK, thanks. Pretty much as I was thinking. Where PureBasic beats out PowerBasic by a mile is that structures can have basically any data type, including variable length stuff like dynamic strings. In PowerBasic, you have to put dynamic stuff like that into an Object.
What I'd like ...
What I'd like ...
- Tue Apr 21, 2015 5:34 pm
- Forum: Coding Questions
- Topic: Super NOOB question
- Replies: 6
- Views: 1643
Re: Super NOOB question
firace: Thanks for the tip, especially since I now know (the hard way) the significance of those options.
George
George
- Tue Apr 21, 2015 5:22 pm
- Forum: Coding Questions
- Topic: A design question re: Objects
- Replies: 4
- Views: 1566
A design question re: Objects
OK, I'm porting a tabbed editor from PowerBasic to PureBasic. In PowerBasic, the data related to a single tab instance was defined and manipulated in an Object associated with the tab. This provided great data isolation between tabs and simplified coding greatly.
But I see no Objects in PureBasic ...
But I see no Objects in PureBasic ...
- Tue Apr 21, 2015 5:11 pm
- Forum: Coding Questions
- Topic: Super NOOB question
- Replies: 6
- Views: 1643
Re: Super NOOB question
Thank you all for the help. I now have a working skeleton.
I'm exploring PureBasic as I'm afraid I really have to start getting off PowerBasic. Since Bob Zale died, it has been rudderless and basically dead. And I don't see any white knight on the horizon to save it. Now I gather it is up for sale ...
I'm exploring PureBasic as I'm afraid I really have to start getting off PowerBasic. Since Bob Zale died, it has been rudderless and basically dead. And I don't see any white knight on the horizon to save it. Now I gather it is up for sale ...
- Mon Apr 20, 2015 10:06 pm
- Forum: Coding Questions
- Topic: Super NOOB question
- Replies: 6
- Views: 1643
Super NOOB question
OK, I'm stymied. I use FORM -> New, create a simple little window, and it compiles and runs this basic skeleton just fine.
So I save it as a .PBF file, and figure I'll make it the basis for a new Project. So I create the Project, include the newly created .PBF file, setup all the options to what ...
So I save it as a .PBF file, and figure I'll make it the basis for a new Project. So I create the Project, include the newly created .PBF file, setup all the options to what ...