Search found 1165 matches

by Thomas Linder Puls
22 May 2020 21:01
Forum: Visual Prolog
Topic: Source file too large?
Replies: 5
Views: 4859

Re: Source file too large?

Thank you, I can reproduce the problem, and will look at it.
by Thomas Linder Puls
18 May 2020 15:47
Forum: Visual Prolog
Topic: troubles installing build vip905ce.msi
Replies: 3
Views: 1857

Re: troubles installing build vip905ce.msi

Sounds like it could be more convenient. The purpose of the change is to ensure that there is only one Vip 9 uninstaller . The "old" installers worked like "individual" products, but that also means that there is an uninstall entry for each version you have installed. And uninstalling any of them wi...
by Thomas Linder Puls
18 May 2020 15:40
Forum: Visual Prolog
Topic: VP7.4 to VP9 Application
Replies: 4
Views: 2092

Re: VP7.4 to VP9 Application

The editor has been superseded by the sciLexer . The editor example shows how to use it. The chainDB is still available in the Commercial Edition. But we don't really recommend using it as a "real" database, mainly due to the lack of backup facilities. But also because such a database is a bit fragi...
by Thomas Linder Puls
12 May 2020 16:08
Forum: Visual Prolog
Topic: Interfacing with C functions
Replies: 2
Views: 2170

Re: Interfacing with C functions

The C-function(s) should be exported from a DLL. You can find some documentation here Foreign Language Code.

To handle several flows you will have to use different link names for each flow, and each link name should then match a corresponding external function.
by Thomas Linder Puls
12 May 2020 16:02
Forum: Visual Prolog
Topic: Regular expressions matching as a predicate
Replies: 2
Views: 1970

Re: Regular expressions matching as a predicate

There is a regEx class which contains predicates for searching and replacing.

If you write regEx in an editor in the IDE and place the caret in the name and press F1 you should be brought to the relevant documentation.
by Thomas Linder Puls
11 May 2020 12:49
Forum: Visual Prolog
Topic: pictDraw problem and question
Replies: 10
Views: 3936

Re: pictDraw problem and question

In dialogs and forms there are two measurement systems (coordinate systems), pixels and dialog base units . I think you understand pixels without further explanation. Dialog base units is a "logical" measurement that depends on the font of the dialog (i.e. the font size at the creation/show time). S...
by Thomas Linder Puls
10 May 2020 21:56
Forum: Visual Prolog
Topic: pictDraw problem and question
Replies: 10
Views: 3936

Re: pictDraw problem and question

To show a control you just call show : clauses onAddControl1Click(_Source) = button::defaultAction :- X = 5 + math::random(100), Y = 10 + math::random(100), Pos = pnt(X, Y), Ticks = time::getTickCount(), Info = string::format("% ", Ticks), MyControl = mycontrol::new(This, Info, Pos), MyControl:setSi...
by Thomas Linder Puls
7 May 2020 9:06
Forum: Visual Prolog
Topic: pictDraw problem and question
Replies: 10
Views: 3936

Re: pictDraw problem and question

It seems you are having a difficulty with implementing a workaround, and now you want to solve that problem, rather than the real problem. It was never my intension that the code should invalidate here and there. It was more to try pinpointing the problem. So why don't we focus on the real problem a...
by Thomas Linder Puls
4 May 2020 8:21
Forum: Visual Prolog
Topic: What does this code do?
Replies: 3
Views: 2440

Re: What does this code do?

Hi Klim. As Martin explains the program is a "traditional Prolog program, not a Visual Prolog program. Besides that the program validates path's in a little circuit(/graph). The last clause is however must have to do with something different. The circuit predicate defines the circuit, in terms of th...
by Thomas Linder Puls
4 May 2020 7:45
Forum: Visual Prolog
Topic: What does this code do?
Replies: 3
Views: 2440

Re: What does this code do?

Thank you Martin, we will look at it.
by Thomas Linder Puls
23 Apr 2020 9:39
Forum: Visual Prolog
Topic: Multiplication Overflow
Replies: 4
Views: 2921

Re: Multiplication Overflow

Actually, you should just add the LIB to the project tree by clicking "Add ..." in the context menu on the project tree. However there is (as you noticed) a "glitch" in making a project (solely) for 64 bit. Our system is built to assume that you add 32 bit lib to the project and will then look for t...
by Thomas Linder Puls
22 Apr 2020 9:18
Forum: Visual Prolog
Topic: Multiplication Overflow
Replies: 4
Views: 2921

Re: Multiplication Overflow

Visual Prolog arithmetic operators always checks overflow. The /nocheck option will disable other kinds of checks, but it will not change the behavior of the arithmetic operators. I am afraid that implementing external functions is your only option. It should be possible to implement such simple fun...
by Thomas Linder Puls
20 Apr 2020 7:25
Forum: Visual Prolog
Topic: VIP 904 Class Creation may be incompletely registered in.ph file
Replies: 1
Views: 2752

Re: VIP 904 Class Creation may be incompletely registered in.ph file

I have been able to reproduce (slightly different variants) of these problems, we will look at it.
by Thomas Linder Puls
16 Apr 2020 11:27
Forum: Visual Prolog
Topic: VIP 802 Find in Files stopped working
Replies: 6
Views: 3596

Re: VIP 802 Find in Files stopped working

What do you mean by "stopped working"?

The registry settings should not prevent the dialog from working.