Search found 77 matches
- Fri Apr 08, 2022 6:08 pm
- Forum: General Discussion
- Topic: Double-defining a variable
- Replies: 5
- Views: 816
Re: Double-defining a variable
With globals,there is some use for this behaviour, in order to remind you inside a procedure that a variable has global scope. But in long procedures, even the Global definition (usually at the procedure's start ) is a daunting "solution". (Personally, I prefer a "g_"... prefix f...
- Thu Sep 30, 2021 6:49 pm
- Forum: Coding Questions
- Topic: Check if a file exists somewhere in the path
- Replies: 6
- Views: 1396
Re: Check if a file exists somewhere in the path
@ Marc56us
He just might also be looking for .ddl-, .lib- and other files not executable on their own .
He just might also be looking for .ddl-, .lib- and other files not executable on their own .
- Thu Sep 30, 2021 5:42 pm
- Forum: Coding Questions
- Topic: Check if a file exists somewhere in the path
- Replies: 6
- Views: 1396
Re: Check if a file exists somewhere in the path
Not too demanding, since the filename is already known. No need for the "ExamineDirectory" chore ;) EnableExplicit Define SoughtAfterFile$ = "Notepad.exe" Define EPath$ = GetEnvironmentVariable("PATH") Define Flag = 0 Define i = 1 Define SPath$ = StringField( EPath$, i,...
- Mon Sep 20, 2021 7:47 pm
- Forum: Feature Requests and Wishlists
- Topic: Debug [DebugLevel, ] <expression>
- Replies: 7
- Views: 2158
Re: Debug [DebugLevel, ] <expression>
It wouldn't , but if you cannot or are unwilling or unable to read and understand more than a single line of text at a time, that's not my problem.
- Mon Sep 20, 2021 6:49 pm
- Forum: Feature Requests and Wishlists
- Topic: Debug [DebugLevel, ] <expression>
- Replies: 7
- Views: 2158
Re: Debug [DebugLevel, ] <expression>
Yes, Axolotl, I do know, but thanks anyway. I think the usefulness of debuglevel is dependant of what you do. It may well be that many fellow programmers never use it, but keep to simple "debug <expression>" lines. They wouldn't have to change a thing if my proposal really got implemented....
- Mon Sep 20, 2021 3:40 pm
- Forum: Feature Requests and Wishlists
- Topic: Debug [DebugLevel, ] <expression>
- Replies: 7
- Views: 2158
Re: Debug [DebugLevel, ] <expression>
I know that ^^
But the debug lines clutter tbe view, unnecessarily.
But the debug lines clutter tbe view, unnecessarily.
- Mon Sep 20, 2021 11:10 am
- Forum: Feature Requests and Wishlists
- Topic: Debug [DebugLevel, ] <expression>
- Replies: 7
- Views: 2158
Debug [DebugLevel, ] <expression>
Could we have the debug statement like this: Debug [DebugLevel, ] <expression> instead of our traditional Debug <expression> [, DebugLevel] , please? That way, (especially when debug statements have long, complicated expressions to contend with ) * it would look more tidy * the debuglevel assignment...
- Sat Jun 19, 2021 8:49 am
- Forum: Feature Requests and Wishlists
- Topic: Enhanced Debug Window
- Replies: 2
- Views: 2033
Re: Enhanced Debug Window
Yes, yes and yes!...and a search functionality.
... and, if it isn't too much trouble, with RegExp-Functionality.
Or else: optionally have debug output piped to notepad++ . That way, multiple debug output "windows" could be simulated.
- Sat Jun 27, 2020 2:23 pm
- Forum: Coding Questions
- Topic: REGEXP for sqlite?
- Replies: 4
- Views: 1460
Re: REGEXP for sqlite?
Thanks a lot, infratec,
saved me quite some time not having to work this out myself.
saved me quite some time not having to work this out myself.
- Mon Jun 08, 2020 6:37 pm
- Forum: Bugs - IDE
- Topic: No autocomplete for macros in residents
- Replies: 2
- Views: 1703
Re: No autocomplete for macros in residents
Uhmmm..... it's there. I seemed to have the same problem. I have PB5.72 and PB5.71 installed in adjacent paths of the same directory tree - AND I am creating the .res file through a custom entry in my tools menu in both installations. On closer examination, I found that much to my surprise, lf I alt...
- Mon Aug 12, 2019 11:07 am
- Forum: Applications - Feedback and Discussion
- Topic: [Module] PackEx - Module (all OS)
- Replies: 5
- Views: 3217
Re: [Module] PackEx - Module (all OS)
Well, thank you Thorsten.
The missing prefix was surely rather a "glitch" than a "bug".
I obviously somehow misunderstood this part.
"Add encrypted files to the archive or or decrypt files during unpacking"
Never mind, good work though.
Thanks for the quick reply
CJ
The missing prefix was surely rather a "glitch" than a "bug".
I obviously somehow misunderstood this part.
"Add encrypted files to the archive or or decrypt files during unpacking"
Never mind, good work though.
Thanks for the quick reply
CJ
- Mon Aug 12, 2019 9:44 am
- Forum: Applications - Feedback and Discussion
- Topic: [Module] PackEx - Module (all OS)
- Replies: 5
- Views: 3217
Re: [Module] PackEx - Module (all OS)
Hi, Thorsten. First of all:Thanks for your effort, basically it's what many need and have written about it many times Minor problem: Seems like the module prefix is missing in line 1673. Bigger problem: * Even with that prefix added, the ZIP file is being created with the two jpgs in unreadable form...
- Fri Sep 21, 2018 6:32 pm
- Forum: Feature Requests and Wishlists
- Topic: enable_Debug_GetLastError
- Replies: 3
- Views: 1354
Re: enable_Debug_GetLastError
Oh, incidentally , we had a current case in the german forum where a file wouldn't open in some cases: it had to be win7 with a service pack installed while win7 without svc pack or win 10 worked as expected; also, the error did not occur with win7.SP1 when the accesses were more than 60 seconds apa...
- Fri Sep 21, 2018 8:55 am
- Forum: Feature Requests and Wishlists
- Topic: enable_Debug_GetLastError
- Replies: 3
- Views: 1354
enable_Debug_GetLastError
enable_Debug_GetLastError Have debug execute GetLastError_() implicitly and, if its return is not 0, output an extra line showing the error code and a textual representation of the error constant name. disable_Debug_GetLastError disable implicit GetLastError_() execution/reporting. e.g. enable_Debu...
- Thu Oct 22, 2015 10:03 am
- Forum: 3D Programming
- Topic: How to get raw heightmaps into ogre from PB ?
- Replies: 7
- Views: 3025
Re: How to get raw heightmaps into ogre from PB ?
Hi, ApplePi. Although your formula for creating landscapes from sinus formulas really does look interesting, currently, things like you described in your second link (such as: "Is this point inside or outside of a defined ellipse") is much more the kind of thing I'm working on for my other...