Hi,
In browsing the forum I see a year ago it was requested to update the unsecure version of PCRE regular expressions, and confirmed by Fred himself. In the latest version unless I am mistaken I still see the help file for the old version. Was the version updated and the help file not? Or was it ...
Search found 41 matches
- Tue Feb 16, 2021 8:33 pm
- Forum: Feature Requests and Wishlists
- Topic: PCRE update
- Replies: 2
- Views: 2446
- Wed Aug 05, 2020 6:39 pm
- Forum: Coding Questions
- Topic: number guess purebasic conversion
- Replies: 3
- Views: 1009
Re: number guess purebasic conversion
Ok, it seems the problem was my While loop which you just discarded, which I thought was necessary for some reason.
You just moved the required input into the appropriate Case and voila. After I see it it seems so simple, but I couldn't figure it out for the life of me.
Thanks Bernd,
(not the ...
You just moved the required input into the appropriate Case and voila. After I see it it seems so simple, but I couldn't figure it out for the life of me.
Thanks Bernd,
(not the ...
- Wed Aug 05, 2020 6:43 am
- Forum: Coding Questions
- Topic: number guess purebasic conversion
- Replies: 3
- Views: 1009
number guess purebasic conversion
Hi All. I was taking a python course(slow interpreted language), and I thought I would convert some of the exercises to speedy executable PureBasic code just to see how easy it would be. So I started with a simple guess your number program in a window. What was trivial in the console was far more ...
- Sat Aug 23, 2014 5:26 am
- Forum: Coding Questions
- Topic: get text line by line from Scintilla
- Replies: 5
- Views: 2602
Re: get text line by line from Scintilla
Actually scratch what I said. I was looking at the second example, but the first one is much easier to follow, and I can understand it for the most part.
Thanks both of you for the code.
Dan
Thanks both of you for the code.
Dan
- Sat Aug 23, 2014 4:12 am
- Forum: Coding Questions
- Topic: get text line by line from Scintilla
- Replies: 5
- Views: 2602
Re: get text line by line from Scintilla
thanks Danilo and Tenaja for the code, and I will end up using it only because I started with the Scintilla gadget, but when I started using Scintilla I was hoping for something in the lines of the editor gadget that
I could understand and was simple to program. I rely on Fred to shelter me from ...
I could understand and was simple to program. I rely on Fred to shelter me from ...
- Sat Aug 23, 2014 2:52 am
- Forum: Coding Questions
- Topic: get text line by line from Scintilla
- Replies: 5
- Views: 2602
get text line by line from Scintilla
hi all,
As the title suggests, I can get the complete text from Scintilla into one string, but in my program I want to bring it line by line into a linked list of lines. I had some code which I inadvertently
left at work, which uses Sci_numLines or whatever, but doesn't work. anyways I used to like ...
As the title suggests, I can get the complete text from Scintilla into one string, but in my program I want to bring it line by line into a linked list of lines. I had some code which I inadvertently
left at work, which uses Sci_numLines or whatever, but doesn't work. anyways I used to like ...
- Mon Aug 11, 2014 3:15 am
- Forum: Coding Questions
- Topic: Scintilla Readonly
- Replies: 3
- Views: 1433
Re: Scintilla Readonly
IdeasVacuum,
Yours is closest to what I want, I don't want to be able to change anything on the editor. I guess when I think about it what I thought of as read-only is different than what I needed. In a read-only document I think
it is still possible to make changes, you just can't save them. My ...
Yours is closest to what I want, I don't want to be able to change anything on the editor. I guess when I think about it what I thought of as read-only is different than what I needed. In a read-only document I think
it is still possible to make changes, you just can't save them. My ...
- Sun Aug 10, 2014 10:52 pm
- Forum: Coding Questions
- Topic: Scintilla Readonly
- Replies: 3
- Views: 1433
Scintilla Readonly
Hi everyone,
I quite like the Scintilla Gadget, and have been using it exclusively. Can someone tell me how to
make it readonly, so that one can't make changes to it? In reading the documentation there is
a SCI_SETREADONLY(bool readOnly), which I have enabled, but which still allows changes to be ...
I quite like the Scintilla Gadget, and have been using it exclusively. Can someone tell me how to
make it readonly, so that one can't make changes to it? In reading the documentation there is
a SCI_SETREADONLY(bool readOnly), which I have enabled, but which still allows changes to be ...
- Wed Aug 06, 2014 3:59 am
- Forum: Coding Questions
- Topic: double event - help
- Replies: 2
- Views: 866
Re: double event - help
Thanks ts-soft, that did the trick. Much appreciated.
- Wed Aug 06, 2014 2:29 am
- Forum: Coding Questions
- Topic: double event - help
- Replies: 2
- Views: 866
double event - help
Ok I'm sure its something simple but when I click on the PanelGadget it seems to fire the same event off twice, can anyone tell me what I am doing wrong?
Global Window_0
Global Panel_0, Button_01, Editor_0
NewList FaceList.s()
Window_0 = OpenWindow(#PB_Any, 0, 0, 1040, 640, "", #PB_Window ...
Global Window_0
Global Panel_0, Button_01, Editor_0
NewList FaceList.s()
Window_0 = OpenWindow(#PB_Any, 0, 0, 1040, 640, "", #PB_Window ...
- Wed Jul 30, 2014 3:34 am
- Forum: Coding Questions
- Topic: Serial Port
- Replies: 20
- Views: 11704
Re: Serial Port
I completed my code, I wanted the program to end by itself so at the window event #SendFinished and #ReceiveFinished I added PostEvent (#PB_Event_CloseWindow) after a delay. It works good and is a nice way to complete the ending of the program, as in event-driven programming it is not always cut and ...
- Tue Jul 29, 2014 5:27 am
- Forum: Coding Questions
- Topic: Serial Port
- Replies: 20
- Views: 11704
Re: Serial Port
Bernd,
Thanks again, sorry for the many questions, you have been very generous with your coding. I try to follow your code and I see how much I have yet to learn. I can sort of follow it but to write it myself
I have to work with it a lot more. It seems you are pushing the Send and Receive buttons ...
Thanks again, sorry for the many questions, you have been very generous with your coding. I try to follow your code and I see how much I have yet to learn. I can sort of follow it but to write it myself
I have to work with it a lot more. It seems you are pushing the Send and Receive buttons ...
- Mon Jul 28, 2014 3:02 am
- Forum: Coding Questions
- Topic: Serial Port
- Replies: 20
- Views: 11704
Re: Serial Port
Alexander,
I didn't even think of the SetGadgetItemText, but it makes sense that it would work, thanks for the tip, and for translating your program to english, whenever you have time,
no hurry. I appreciate that.
Bernd,
I have a question. I am passing parameters to the program, an S or R for send ...
I didn't even think of the SetGadgetItemText, but it makes sense that it would work, thanks for the tip, and for translating your program to english, whenever you have time,
no hurry. I appreciate that.
Bernd,
I have a question. I am passing parameters to the program, an S or R for send ...
- Fri Jul 25, 2014 7:09 am
- Forum: General Discussion
- Topic: My perspective
- Replies: 3
- Views: 2290
My perspective
Hi All,
I wanted to talk about Purebasic in relation to my personal journey in programming. I started out at 16 years old while most people were buying cars I bought the TRS-80 Level 2 computer as it was the latest
thing at the time. I took a loan out and bought it for $1200 as I recall in 1977 ...
I wanted to talk about Purebasic in relation to my personal journey in programming. I started out at 16 years old while most people were buying cars I bought the TRS-80 Level 2 computer as it was the latest
thing at the time. I took a loan out and bought it for $1200 as I recall in 1977 ...
- Fri Jul 25, 2014 1:59 am
- Forum: Coding Questions
- Topic: Serial Port
- Replies: 20
- Views: 11704
Re: Serial Port
Infratec,
Your code works beautifully, I have to pour through it so I can understand it a bit better. I still want the EditorGadget to update as I'm bringing in or sending the code, rather than all at once. It seems that the only way to update
the gadget is with AddGadgetItem, which adds a whole ...
Your code works beautifully, I have to pour through it so I can understand it a bit better. I still want the EditorGadget to update as I'm bringing in or sending the code, rather than all at once. It seems that the only way to update
the gadget is with AddGadgetItem, which adds a whole ...