Search found 60 matches
Re: Lib Path
When I installed mosquitto, it placed the Link mosquitto.so.1 and the library mosquitto.so.2.0.11 in /usr/lib/arm-linux-gnueabihf. That is the only place they are present. So I #inclib "mosquitto" and in the command line compile statement -p /usr/lib/arm-linux-gnueabihf as the path. All t...
- Sep 04, 2023 2:36
- Forum: Community Discussion
- Topic: Library, Project, Example Code Archive
- Replies: 7
- Views: 7709
Re: Library, Project, Example Code Archive
As a semi-pro, intermediate kind of programmer, I would find an archive very useful. It is really frustrating chasing down a library in the forum, only to find the link is now dead.
David
David
- Aug 05, 2023 2:39
- Forum: Linux
- Topic: reading standard input
- Replies: 3
- Views: 6860
Re: reading standard input
Basically, use "Open Cons" and then you are allowed to use the EOF function Thanks, that is the obvious thing I missed. Actually I thought for sure I checked out Open Cons and what I read made me think it wouldn't work, but I have no idea what I had read that made me think that. I need to...
- Aug 03, 2023 5:51
- Forum: Linux
- Topic: reading standard input
- Replies: 3
- Views: 6860
reading standard input
I should know this, but I am having a very senior moment here.... I want to run some commands prog1 | fb-prog | prog3 That is, I want my freebasic program to read the output of prog1, process the data line by line, then write the results out so prog3 can process it. I can do a do loop of line input ...
- Jun 29, 2023 16:42
- Forum: Windows
- Topic: PipeToString for PowerBASIC
- Replies: 46
- Views: 8182
Re: PipeToString for PowerBASIC
I wrote an elementary dll using 'As BSTR Export' and that worked fine. It seems to me that 'dummy += tmp + Chr(10)' is the issue but I cannot see how at the moment. Have you examined the bytes returned in the string? Are the chr(10) still there as expected? Does PowerBasic expect lines to end with ...
- Sep 22, 2022 14:56
- Forum: DOS
- Topic: Let's develop OpenWinDOS
- Replies: 55
- Views: 32817
Re: Let's develop OpenWinDOS
I downloaded OpenWinDos and tried to compile main.bas, and I got a bunch of errors. The errors were like: hWindow.bi(45) error 18: Element not defined, hName But it looks like hName is defined in hControl. All the fields of hControl were listed as "elements not defined." I am using fbc ver...
- May 29, 2021 15:14
- Forum: General
- Topic: Porting Freebasic fltk-c application to web based
- Replies: 6
- Views: 1548
Re: Porting Freebasic fltk-c application to web based
@Julcar First of all, you won't need any fltk-c library, Thanks. The role of the GUI is to aide in placement of information and reading writing data to those places. Sounds like that is all manually done in html. At this point, I have only ever written html to dump info out, but not allowed the user...
- May 28, 2021 16:48
- Forum: General
- Topic: Porting Freebasic fltk-c application to web based
- Replies: 6
- Views: 1548
Porting Freebasic fltk-c application to web based
Okay, this may be off-topic, but I have written a few small applications in freebasic, using fltk-c to create a user interface to view and modify data in a database. I would like to change these programs so that they run on a web server in a browser. Currently, I have the programs on a usb stick, co...
- Jul 10, 2020 14:43
- Forum: General
- Topic: Embedding a Spreadsheet
- Replies: 35
- Views: 8916
Re: Embedding a Spreadsheet
an old post, may be useful https://ewbi.blogs.com/develops/popular/excelformulaparsing.html Thanks. I ended up realizing I needed to figure out exactly what "minimally functional" spreadsheet would need to do. Most of the Gui toolkits could handle displaying and entering data in a grid. A...
- Jul 06, 2020 1:47
- Forum: General
- Topic: Embedding a Spreadsheet
- Replies: 35
- Views: 8916
Re: Embedding a Spreadsheet
Thanks TJF. I finally had time to try to understand your code. I read the code, but haven't tried to compile it, or test it. I think I have convinced myself that it does allow for COS(A1). (ie the cosine of the value in cell A1) But I am guessing for simplicity you omitted processing any functions t...
- Jul 02, 2020 3:45
- Forum: General
- Topic: Embedding a Spreadsheet
- Replies: 35
- Views: 8916
Re: Embedding a Spreadsheet
This looks like exactly what I want. This Pascal solution implements a complex custom type for the RPN stack, which makes the solver complicated. IMHO it's better to operate with two stacks (value/RPN). This answer confuses me.... not too hard to do. I suspect because you are answering a question I...
- Jul 02, 2020 3:27
- Forum: General
- Topic: Embedding a Spreadsheet
- Replies: 35
- Views: 8916
Re: Embedding a Spreadsheet
Would that JS run in client in a embedded html viewer in my code, or would a server have to be set up?oyster wrote:I suggest to focus on your own application, and embed JavaScript code in application
David
- Jun 30, 2020 22:07
- Forum: General
- Topic: Embedding a Spreadsheet
- Replies: 35
- Views: 8916
Re: Embedding a Spreadsheet
perhaps this might be of some value https://wiki.freepascal.org/RPN_Formulas_in_FPSpreadsheet This looks like exactly what I want. Assuming you can put two sWorkSheetGrid controls on one form, with other non-spreadsheet related controls in the same form. Is there an "easy" way to link the...
- Jun 30, 2020 2:50
- Forum: General
- Topic: Embedding a Spreadsheet
- Replies: 35
- Views: 8916
Re: Embedding a Spreadsheet
Wow! Thanks. Well, at least is DOES handle cell references in its expression parser. Unrelated, I was checking out the packages in a Linux distro, and saw "Gnu spreadsheet Widget" Excitedly I went to its website, only to see "Documentation is currently not available." Undeterred,...
- Jun 30, 2020 1:13
- Forum: General
- Topic: Embedding a Spreadsheet
- Replies: 35
- Views: 8916
Re: Embedding a Spreadsheet
I agree. Unfortunately, all of the FB parsers I have come across have made the tacit assumption that the formula is going to return a number and that is arguments are going to be numbers. Not true for my problem domain. Actually, I don't think I've seen any that can have the argument of a function, ...