Search found 29 matches
- Mon Sep 26, 2022 6:31 pm
- Forum: Feature Requests and Wishlists
- Topic: Try/Catch/Finally error handling...
- Replies: 45
- Views: 19336
Re: Try/Catch/Finally error handling...
I had completely forgotten about this forum. I dumped PureBasic 3 years ago and moved on to another development environment.
- Thu May 27, 2021 1:48 am
- Forum: Coding Questions
- Topic: ProcedureReturn statement...
- Replies: 44
- Views: 13525
Re: ProcedureReturn statement...
@Bitblazer
Try/Catch deals with system errors quite well in other languages.
This is my last post on this particular thread. It's going nowhere.
Try/Catch deals with system errors quite well in other languages.
Perhaps I should ask Harry Potter to wave his magic wand and make that happen.Sounds like you either need to make sure your hardware never fails...
This is my last post on this particular thread. It's going nowhere.
- Tue May 25, 2021 9:00 pm
- Forum: Coding Questions
- Topic: ProcedureReturn statement...
- Replies: 44
- Views: 13525
Re: ProcedureReturn statement...
@freak
I am not sure I am being hostile. In fact, I am quite jovial but I feel others have been hostile to me for asking about a means structured error handling.
I understand why so many of you don't want to use it, and I've heard all the arguments before. However, if you don't want a particular ...
I am not sure I am being hostile. In fact, I am quite jovial but I feel others have been hostile to me for asking about a means structured error handling.
I understand why so many of you don't want to use it, and I've heard all the arguments before. However, if you don't want a particular ...
- Tue May 25, 2021 7:40 pm
- Forum: Coding Questions
- Topic: ProcedureReturn statement...
- Replies: 44
- Views: 13525
Re: ProcedureReturn statement...
So, in your bubble:
- memory can't become corrupted by a power surge (not power outage) while running the software?
- hard disk drives never fail while using your software?
- networks/internet never fail while using your software?
- motherboards/communications ports never fizzle while using your ...
- memory can't become corrupted by a power surge (not power outage) while running the software?
- hard disk drives never fail while using your software?
- networks/internet never fail while using your software?
- motherboards/communications ports never fizzle while using your ...
- Tue May 25, 2021 3:40 am
- Forum: General Discussion
- Topic: An #Empty$ and #Null$ chat.
- Replies: 7
- Views: 5242
Re: An #Empty$ and #Null$ chat.
@mk-soft
This is some thorough and useful knowledge to have. And you are correct... I should have started a new thread with my question.
I greatly appreciate the information!.!.!
This is some thorough and useful knowledge to have. And you are correct... I should have started a new thread with my question.
I greatly appreciate the information!.!.!
- Mon May 24, 2021 1:27 pm
- Forum: General Discussion
- Topic: An #Empty$ and #Null$ chat.
- Replies: 7
- Views: 5242
Re: An #Empty$ and #Null$ chat.
@box_80
Mostly, it was just a curiosity. But PB is beginning to become as addictive for me as coffee. I would at some point like to probe the minds of the PB masters to learn the proper way to dispose of/clean up each type of variable and objects. It's one of my pet peaves. Even in languages which ...
Mostly, it was just a curiosity. But PB is beginning to become as addictive for me as coffee. I would at some point like to probe the minds of the PB masters to learn the proper way to dispose of/clean up each type of variable and objects. It's one of my pet peaves. Even in languages which ...
- Sun May 23, 2021 8:13 pm
- Forum: General Discussion
- Topic: An #Empty$ and #Null$ chat.
- Replies: 7
- Views: 5242
Re: An #Empty$ and #Null$ chat.
Very interesting conversation!
Regarding kenmo's statement -
Regarding kenmo's statement -
Just out of pure curiosity, does PB have a keyword or method to remove variables from existence?#Null$ does not remove a variable from existence, just resets its value, so EnableExplicit won't complain.
- Sun May 23, 2021 4:59 pm
- Forum: Coding Questions
- Topic: ProcedureReturn statement...
- Replies: 44
- Views: 13525
Re: ProcedureReturn statement...
He is entitled to his own opinion.
- Sun May 23, 2021 4:40 pm
- Forum: Coding Questions
- Topic: ProcedureReturn statement...
- Replies: 44
- Views: 13525
Re: ProcedureReturn statement...
This argument is invalid, as a memory leak would occur in a language without garbage collection if the programmer doesn't manualy clean up/dispose of the object regardless of whether he is using OnErrorGoto(), Try/Catch/Endtry, or no error handling mechanism at all. Your examples have nothing to do ...
- Sun May 23, 2021 3:39 am
- Forum: Coding Questions
- Topic: ProcedureReturn statement...
- Replies: 44
- Views: 13525
Re: ProceureReturn statement...
I'm confused...
If you don't want to use such a feature, that is okay. But WHY are you so adamant against myself and others who have mentioned it seeking to find a way to properly implement it? What does it hurt you? I cannot think of one possible reason why someone else developing a feature you ...
If you don't want to use such a feature, that is okay. But WHY are you so adamant against myself and others who have mentioned it seeking to find a way to properly implement it? What does it hurt you? I cannot think of one possible reason why someone else developing a feature you ...
- Sun May 23, 2021 3:07 am
- Forum: Coding Questions
- Topic: ProcedureReturn statement...
- Replies: 44
- Views: 13525
Re: ProceureReturn statement...
You and others keep saying this. So, I'm just going to ignore you and those who share your opinion from this point.
If you don't like the feature I mention, life is simple... don't use it and leave others alone who might want it.
It's not for you. But thanks for your input.
If you don't like the feature I mention, life is simple... don't use it and leave others alone who might want it.
It's not for you. But thanks for your input.
- Sun May 23, 2021 2:44 am
- Forum: Coding Questions
- Topic: ProcedureReturn statement...
- Replies: 44
- Views: 13525
Re: ProcedureReturn statement...
This Try/Catch error handling structure by Danilo https://www.purebasic.fr/english/viewtopic.php?t=49903 works very well at continuing with the program's execution following an un expected error. Yet, unfortunately, it doesn't seem accommodate any means I can see to extract either the error number ...
- Sun May 23, 2021 1:41 am
- Forum: Coding Questions
- Topic: ProcedureReturn statement...
- Replies: 44
- Views: 13525
Re: ProcedureReturn statement...
Okay, after a year and a half away I am picking this puppy (PureBasic) back up.
The main issue I have when tinkering with PB is that the built-in error handler exits after an unexpected error occurs, even though sometimes it may not be a critical error. I know this won't be changed, as I have read ...
The main issue I have when tinkering with PB is that the built-in error handler exits after an unexpected error occurs, even though sometimes it may not be a critical error. I know this won't be changed, as I have read ...
- Sat Nov 02, 2019 7:25 pm
- Forum: Coding Questions
- Topic: Test if macro is used - conditional jump...
- Replies: 15
- Views: 4773
Re: Test if macro is used - conditional jump...
@Marc56us
Thank you, Sir!
That was very lacking on my part to not think to look in among the operators...
Update: > I just found I can download a PDF version of the PB manual. It's a bit more searchable than the online version.
Thank you, Sir!
That was very lacking on my part to not think to look in among the operators...
Update: > I just found I can download a PDF version of the PB manual. It's a bit more searchable than the online version.
- Sat Nov 02, 2019 5:10 pm
- Forum: Coding Questions
- Topic: Test if macro is used - conditional jump...
- Replies: 15
- Views: 4773
Re: Test if macro is used - conditional jump...
@Olliv
I deeply apologize. Despite having programmed for 30+ years (in other languages), this is my first time ever using an online forum. So, please forgive my slowness at learning the proper protocol for doing things.Olliv wrote:Houla...
2 remarks...
1) Please use normalized markups