Search found 35 matches
- Fri Jul 07, 2023 7:45 pm
- Forum: Feature Requests and Wishlists
- Topic: PureBasic-Reference-Wikipedia
- Replies: 15
- Views: 1840
Re: PureBasic-Reference-Wikipedia
I think Fred is not a fan of long discussions - he does!
- Wed Jul 05, 2023 2:38 pm
- Forum: Feature Requests and Wishlists
- Topic: PureBasic-Reference-Wikipedia
- Replies: 15
- Views: 1840
PureBasic-Reference-Wikipedia
The "PureBasic-Reference", its description, hints and examples often turns out quite scarce and often it leaves more questions open than it answers. Also because of this -but not only- there is this forum to answer such questions. (eg. my last post: https://www.purebasic.fr/english/viewtop...
- Wed Jul 05, 2023 1:57 pm
- Forum: Coding Questions
- Topic: ComputerName() / HostName()
- Replies: 2
- Views: 332
Re: ComputerName() / HostName()
Ok, thanks. You have put me on the right track with NetBios. The hostname could possibly also contain the domain name.
- Tue Jul 04, 2023 12:14 pm
- Forum: Coding Questions
- Topic: ComputerName() / HostName()
- Replies: 2
- Views: 332
ComputerName() / HostName()
I am writing a server/client application. Server or client can be any computer in this network. The computer that starts the program first is automatically the server.
Where exactly is the difference between the functions computername() vs. hostname()? For me the result is always the same.
Where exactly is the difference between the functions computername() vs. hostname()? For me the result is always the same.
- Thu Mar 23, 2023 3:33 pm
- Forum: Feature Requests and Wishlists
- Topic: Macro-Errorhandling
- Replies: 5
- Views: 520
Macro-Errorhandling
Hi guys, i am very dissatisfied with the macro handling in case of error. The debugger only shows the code line of the macro call. It would be more helpful if the error was displayed directly in the affected macro. With nested macros that go into depth, one is totally helpless in debugging. Besides,...
- Fri Mar 10, 2023 6:08 pm
- Forum: Feature Requests and Wishlists
- Topic: alternate SelectElement()
- Replies: 8
- Views: 465
Re: alternate SelectElement()
Exactly
- Fri Mar 10, 2023 5:20 pm
- Forum: Feature Requests and Wishlists
- Topic: alternate SelectElement()
- Replies: 8
- Views: 465
Re: alternate SelectElement()
My dear @Stargate: I am not concerned with speed or anything else. Void$ = List(INDEX)\Period$ is neither slower nor faster than SelectElement(List(), INDEX) Void$ = List()\Period$ but List(INDEX) is a SIMPLIFICATION. Nothing else. It also does not promote non-optimal code. If you use a List() and n...
- Fri Mar 10, 2023 3:40 pm
- Forum: Feature Requests and Wishlists
- Topic: alternate SelectElement()
- Replies: 8
- Views: 465
Re: alternate SelectElement()
@Stargate: I cannot accept your argumentation about internal handling and supposed direct access.
An INDEX argument could be handled internally by PB as SelectElement().
yes, in previous versions of PB WriteLong() etc. had no arguments between the (). And now...?
An INDEX argument could be handled internally by PB as SelectElement().
yes, in previous versions of PB WriteLong() etc. had no arguments between the (). And now...?
- Fri Mar 10, 2023 2:57 pm
- Forum: Feature Requests and Wishlists
- Topic: alternate SelectElement()
- Replies: 8
- Views: 465
alternate SelectElement()
It would be nice to be able to address list items directly with the list index, e.g. Void$ = List(INDEX)\Period$ and not awkwardly via SelectElement(List(), INDEX) Void$ = List()\Period$ I remember that the file handling in the earlier PureBasic versions still had the cumbersome method like "Us...
- Thu Mar 09, 2023 5:58 pm
- Forum: Feature Requests and Wishlists
- Topic: Editor-Extension
- Replies: 8
- Views: 586
- Wed Mar 08, 2023 9:14 am
- Forum: Feature Requests and Wishlists
- Topic: Editor-Extension
- Replies: 8
- Views: 586
- Tue Mar 07, 2023 7:49 pm
- Forum: Coding Questions
- Topic: RegularExpression
- Replies: 9
- Views: 508
Re: RegularExpression
Thanks, @AZJIO...very interesting and certainly much faster than using Mid(). However, I avoid (unless absolutely necessary) this pointer stuff because a well readable code is more important to me. After some time, when you change the code, you have to think too much about what you did in the first ...
- Tue Mar 07, 2023 7:03 pm
- Forum: Feature Requests and Wishlists
- Topic: Editor-Extension
- Replies: 8
- Views: 586
Editor-Extension
Hi guys, it would be nice, even great, no...fantastic, if the code window could be split into 2 parts. That would prevent having to scroll all the time to have 2 Codeparts in view. I use a 4k monitor in portrait(!)-Mode, see ~200 lines, but still have to scroll, scroll, scroll.... Is this doable? My...
- Mon Mar 06, 2023 11:38 am
- Forum: Coding Questions
- Topic: RegularExpression
- Replies: 9
- Views: 508
Re: RegularExpression
Thanks @Stargate:
At first glance, the replacement code looks very elaborate. But you are of course right that it can be optimized considerably.
At first glance, the replacement code looks very elaborate. But you are of course right that it can be optimized considerably.
This is exactly what I wanted to prevent
- Mon Mar 06, 2023 10:35 am
- Forum: Coding Questions
- Topic: RegularExpression
- Replies: 9
- Views: 508
RegularExpression
Hi guys, i am in the process of extending an older PB program. Since some time PB supports "RegularExpression". I think that these 2 routines can be replaced by this one. I have never dealt with "RegularExpression" before and the sample code in the PB reference is more than poor....