Search found 1164 matches

by Thomas Linder Puls
10 Sep 2020 14:36
Forum: Visual Prolog
Topic: Find in Files (Replace All) is mangling text
Replies: 2
Views: 228

Re: Find in Files (Replace All) is mangling text

I believe the problem is caused by TAB characters in the affected files. Our IDE never insert TAB characters, so either they have been in the file from ancient time, or they have been put in by some "foreign" editor. If you (auto-)format the file there will be no TAB characters. The formater program...
by Thomas Linder Puls
10 Sep 2020 13:03
Forum: Visual Prolog Tips & Samples
Topic: Neural Network Program
Replies: 9
Views: 14167

Re: Neural Network Program

Updated for Visual Prolog 9
by Thomas Linder Puls
24 Aug 2020 12:13
Forum: Visual Prolog
Topic: timerListener not firing
Replies: 2
Views: 515

Re: timerListener not firing

The only thing in your code that say that you expect onStartTimerTimer to be called when the timer on the button fires is a comment in the code. I.e. you start and stop a timer, and you have a listener, but you have not told what the listener should listen to. So somewhere in your code you will need...
by Thomas Linder Puls
13 Aug 2020 9:06
Forum: Visual Prolog
Topic: IDE Tools cannot launch one specific application
Replies: 4
Views: 699

Re: IDE Tools cannot launch one specific application

I have installed the mentioned explorer and I experience the same thing as you do. And it is not obvious why it behaves like that. The tool seems to run but it just seems to close again. There is a simple workaround though. Create a cmd file somewhere with this contents: "C:\Program Files\zabkat\xpl...
by Thomas Linder Puls
12 Aug 2020 9:51
Forum: Visual Prolog
Topic: How to delete a source file
Replies: 3
Views: 689

Re: How to delete a source file

I can highly recommend old cats and other ones to use a version control system. git seems to be the flavor of the year.

I agree that the simplest way to "eliminate" a file from a project is by "eliminating" it from the disk and then build again.
by Thomas Linder Puls
3 Aug 2020 8:41
Forum: Visual Prolog
Topic: Custom Control Help
Replies: 2
Views: 754

Re: Custom Control Help

Your custom control must provide some selection changed event mechanism, so that you can register a listener in your dialog. It can be in the "old" (still used) form of add<SomeThing>Listener, or you can use an event: interface lb properties selectionChangedEvent : event0 (o). ... end interface lb I...
by Thomas Linder Puls
29 Jul 2020 15:52
Forum: Visual Prolog
Topic: webassembly
Replies: 6
Views: 970

Re: webassembly

The parser for Visual Prolog is in the Commercial Edition in the directory vip/vipSyntax. It is almost completely in Prolog, only a little of the lexer is in C/C++. It is generated by the LALR parser generator . As for the other matter it still seems to me that HTML, css and Javascript is used to cr...
by Thomas Linder Puls
28 Jul 2020 21:20
Forum: Visual Prolog
Topic: webassembly
Replies: 6
Views: 970

Re: webassembly

Yes, I agree on that aspect; it is the role it has in the browsers that I am concerned with. JavaScript, HTML and css, are all collaborating on the "web page", but WebAssembly seems more like an embedded application like the less and less frequent flash applications.
by Thomas Linder Puls
27 Jul 2020 20:19
Forum: Visual Prolog
Topic: webassembly
Replies: 6
Views: 970

Re: webassembly

(Your "other way" seems to describe a compiler, which is also what the first part is concerned with). It is long time since I looked at WebAssembly and things may have changed since then. My conclusions at that time was the following. There would be some complications for Prolog The instructions/"pr...
by Thomas Linder Puls
22 Jul 2020 21:25
Forum: Visual Prolog
Topic: Build 906 - 64 bit operations
Replies: 3
Views: 1381

Re: Build 906 - 64 bit operations

Thank you for your offer, but we don't use external beta testers.

We have a large teste suite for the compiler, pfc, etc. And on top of that we have a number of large/huge professional programs, with test suites, testers, customers, etc. And they are all "beta" tests/testers for our system.
by Thomas Linder Puls
22 Jul 2020 21:11
Forum: Visual Prolog
Topic: Incredibly cool VP features
Replies: 3
Views: 832

Re: Incredibly cool VP features

Thank you. Disregarding all modesty I have to agree that presenters are rather 8-). And it has actually also been one of the most difficult things to get working. The debugger run code in your process while it is braked. But when your program is braked it may "posses some resources" that are require...
by Thomas Linder Puls
13 Jul 2020 21:36
Forum: Visual Prolog
Topic: web browser in vp
Replies: 2
Views: 1120

Re: web browser in vp

Edge Chromium can be embedded in Win32 programs using COM technology. It has a completely different interface than the old Internet Explorer, so the old webBrowserControl will not use the new browser. But we will add bindings for it, so it can be used as a new control (Microsoft has named it webView...
by Thomas Linder Puls
13 Jul 2020 20:54
Forum: Visual Prolog
Topic: Draw vertical text using GDI+ stringFormat
Replies: 4
Views: 1075

Re: Draw vertical text using GDI+ stringFormat

A little tip that would surely have found it for you. Paste the constant from the example into the editor and use the menu Insert -> Qualification (or Ctrl+Shift+S) Insert Qualification.png If the constant is known (the relevant package must have been compiled) then the qualification will turn up. N...
by Thomas Linder Puls
12 Jul 2020 23:10
Forum: Visual Prolog
Topic: Draw vertical text using GDI+ stringFormat
Replies: 4
Views: 1075

Re: Draw vertical text using GDI+ stringFormat

This is more or less a direct translation of the code from the Microsoft example (however using a rectF rather than a pointF ): predicates onPaint : window::paintresponder. clauses onPaint(_, _, GDI) :- HDC = GDI:getNativeGraphicContext(IsReleaseNeeded), Graphics = graphics::createFromHDC(HDC), Font...