Search found 3721 matches

by Little John
Tue Jan 27, 2009 10:45 pm
Forum: Coding Questions
Topic: Can ExplorerTreeGadget() accept a UNC file path?
Replies: 6
Views: 1688

2RichardL:
On the German forum, there is some cool Win API code by ts-soft. I think that does what you are after.
I just tested the code here at home, and with the help of Hamachi I was able to browse the files on my PC in our office. :-)

Regards, Little John
by Little John
Tue Jan 27, 2009 5:47 pm
Forum: Coding Questions
Topic: Can i make the web gadget use IE7 ?
Replies: 8
Views: 1062

> the website was designed for IE7
:roll:

> re-designing it would be the better option, since all around the world there are enuff people who use different browsers..
Very true!

Regards, Little John
by Little John
Tue Jan 27, 2009 5:42 pm
Forum: General Discussion
Topic: ANDs & ORs in If statements
Replies: 15
Views: 4822

Re: ANDs & ORs in If statements

Procedure test() MessageRequester("test","test") ProcedureReturn #True EndProcedure a = 1 If a = 1 Or test() ; test() will be called MessageRequester("ok","ok") EndIf test is not called on my system (PB 4.30 x86 on Windows), so I can't reproduce your finding....
by Little John
Sat Jan 24, 2009 1:34 pm
Forum: Coding Questions
Topic: WndProc?
Replies: 46
Views: 13585

As another example, I've read that in Finnish there is the word "kaffiipausii" -- derived from German "Kaffepause" (coffee break). Where you read that? But i googled it: http://www.heute.de/ZDFheute/inhalt/2/0,3672,3983586,00.html Yes, that's exactly the source where I read it s...
by Little John
Sat Jan 24, 2009 11:16 am
Forum: Coding Questions
Topic: WndProc?
Replies: 46
Views: 13585

Not "doppleganger" but "Doppelgänger". :lol: "doppleganger" or "doppelganger" is a German loanword , used in English. It is quite common that a loanword is not 100% identical to the word from which it derived. As another example, I've read that in Finnish the...
by Little John
Thu Jan 22, 2009 4:47 pm
Forum: Coding Questions
Topic: Sort (structured) Linked list via multiple fields
Replies: 8
Views: 4275

technicorn wrote:It's not possible to use Mergesort for arrays, because Mergesort can't work in place, that means the array would have to be taken apart and then put back together again.
It is possible to use Mergesort for arrays, of course.

Regards, Little John
by Little John
Sun Jan 18, 2009 5:28 pm
Forum: Coding Questions
Topic: Problem with string pointer
Replies: 23
Views: 5006

I'm still doubtful that the additional needed Memory within the StringPool is allocated correctly when you expand the string via a pointer... As far as I remember, I learned this method from a discussion on the German forum some time ago. IMHO the decisive point (no pun intended) is here, that it's...
by Little John
Sun Jan 18, 2009 3:31 pm
Forum: Coding Questions
Topic: Problem with string pointer
Replies: 23
Views: 5006

Something like DaPointer is not needed. I'd do it like this: Procedure MyFunc1(*MyVar.String) ; pass string by reference Debug *MyVar\s For i = 0 To 4 *MyVar\s + "MyString123" Next EndProcedure Procedure MyFunc2(MyVar.s) ; pass string by value Debug MyVar MyVar = "MyString123" En...
by Little John
Sun Jan 18, 2009 10:52 am
Forum: Linux
Topic: [4.30 beta 5] WebGadget on Ubuntu 8.10
Replies: 3
Views: 2364

Re: Think I've got it

Hi, thanks for your reply. Yeah, it's a bit mysterious. This problem is certanly verified. It also breaks my executables which were previously compiled and linked against the library. The problem is that Ubuntu does not correctly make a symlink in /usr/lib. At least this fixed it for me. ... Unfortu...
by Little John
Sat Jan 17, 2009 4:04 pm
Forum: Off Topic
Topic: You think your having a bad day ?
Replies: 34
Views: 3524

It seems that some people are interested in the difference between reality and fairy tales. But what is "reality"? How do you define "real"? Very good question ( as you certainly know yourself ... ;-) ). Many philosophers have written about it, and I think answering the question...
by Little John
Sat Jan 17, 2009 2:37 pm
Forum: Off Topic
Topic: You think your having a bad day ?
Replies: 34
Views: 3524

Tipperton wrote:
So what if the stories are fake.

Did they make you smile or laugh? If so then that was all they were supposed to do.
It seems that some people are interested in the difference between reality and fairy tales. ;-)

Regards, Little John
by Little John
Fri Jan 16, 2009 5:02 am
Forum: Coding Questions
Topic: Help for a simple thing (bitwise calculation)
Replies: 21
Views: 2185

> getting the highest set bit of an arbitrary number. For this purpose, there is the ASM command BSR (Bit scan reverse). The following code seems to work fine with integers on PB 4.30 and Windows XP 32 bit. Don't know about Quads. Procedure.i BitScanReverse (x.i) ; Return the number of the highest o...
by Little John
Wed Jan 07, 2009 1:28 pm
Forum: Tricks 'n' Tips
Topic: Little Purebasic Preprocessor - LPP
Replies: 42
Views: 27408

How do I set a trigger? I've never used a plugin before In the IDE, choose from the menu "Configure Tools ...". In the window that appears click at the [ New ] button. Then there'll be an options window, which beside other things allows to select an "Event to trigger the tool". ...
by Little John
Wed Jan 07, 2009 11:33 am
Forum: Tricks 'n' Tips
Topic: Little Purebasic Preprocessor - LPP
Replies: 42
Views: 27408

2 PB and pdwyer:
I've now changed the code, so that continuation of an open string is no longer supported. That's really cleaner.
Thanks for discussing that issue!

Regards, Little John
by Little John
Wed Jan 07, 2009 12:37 am
Forum: Tricks 'n' Tips
Topic: Little Purebasic Preprocessor - LPP
Replies: 42
Views: 27408

I've posted a new version, the changes are mentioned in the comments at the beginning of the source code. The next version of the program hopefully will be able to handle include files. :D 2 Rook : Thanks! :-) 2 PB : I see. In the code on the picture that you posted, the line continuation works. It'...