Search found 2426 matches

by Thomas Linder Puls
16 Aug 2019 11:28
Forum: Visual Prolog
Topic: Undeclared Identifier
Replies: 3
Views: 51

Re: Undeclared Identifier

Just include code directly in the text (enclosing it by [ code ]..[ /code ]) tags, then it will look like this: % This code is maintained automatically, do not update it manually. % 17:51:34-16.8.2019 facts ok_ctl : button. cancel_ctl : button. id_ctl : editControl. predicates generatedInitialize : ...
by Thomas Linder Puls
15 Aug 2019 14:58
Forum: Visual Prolog
Topic: Undeclared identifier & Undeclared fact
Replies: 2
Views: 44

Re: Undeclared identifier & Undeclared fact

Welcome back :wink:. In future please only have one problem in each mail. Mail threads becomes very complex when they are about several topics . The first problem sounds very strange. Please post this problem in a new mail, and include there relevant code in that mail. I will consider that problem c...
by Thomas Linder Puls
5 Aug 2019 13:56
Forum: Visual Prolog
Topic: Compiled clauses
Replies: 10
Views: 393

Re: Compiled clauses

When going from one language to another, you may of course consider how things you faced in the old language is treated in the new one. But often you will find that the "things" in the new language is not the same as those in the old language. You should notice that Visual Prolog is a fully compiled...
by Thomas Linder Puls
5 Aug 2019 11:01
Forum: Visual Prolog
Topic: Otherwise operator with erroneous predicate
Replies: 2
Views: 179

Re: Otherwise operator with erroneous predicate

It seems that something has only been implemented as a special case. But I do not recall the history around about this. Anyways, in principle the error is the correct behavior in all cases, because the predicates you call do actually not return values, and can therefore not be the second arguments o...
by Thomas Linder Puls
1 Jul 2019 13:45
Forum: Visual Prolog
Topic: presenter::mkExpand
Replies: 8
Views: 580

Re: presenter::mkExpand

My colleagues agree it is the native expansion that is used. I have added the word to the documentation.
by Thomas Linder Puls
1 Jul 2019 11:52
Forum: Visual Prolog
Topic: presenter::mkExpand
Replies: 8
Views: 580

Re: presenter::mkExpand

My brain has looked into some forgotten memory slots (or invented a story). Though this is not what consistent with the documentation, I think this is deliberate. What happens is that a an "expand" presentation, will show/write the first argument, but expand like the native expansion of the second a...
by Thomas Linder Puls
1 Jul 2019 10:15
Forum: Visual Prolog
Topic: presenter::mkExpand
Replies: 8
Views: 580

Re: presenter::mkExpand

Yes, that it is a good question :-). We will look at it.
by Thomas Linder Puls
28 Jun 2019 10:59
Forum: Visual Prolog
Topic: Inheriting a presenter
Replies: 1
Views: 193

Re: Inheriting a presenter

That is a bug, we will look at it. Thank you.

(Currently, you will have to put the presenter interfaces first in the supports).
by Thomas Linder Puls
27 Jun 2019 13:33
Forum: Visual Prolog
Topic: presenter::mkExpand
Replies: 8
Views: 580

Re: presenter::mkExpand

I am sorry I was confused when I answered before. An "expand" presentation will be presented as its first argument, and expand as the second term. But an unsigned doesn't expand, so this presentation will not expand. In your case you should use a fixed presentation with a string and a "child only" c...
by Thomas Linder Puls
26 Jun 2019 11:25
Forum: Visual Prolog
Topic: presenter::mkExpand
Replies: 8
Views: 580

Re: presenter::mkExpand

No, that is a bug.

By the way, (it will not solve the bug, but) you can write your presenter like this:

Code: Select all

class predicates     present_num : presenter::presenter{num}. clauses     present_num(Num) = presenter::mkExpand(getNumName(Num), hasDomain(unsigned, Num)).
by Thomas Linder Puls
24 Jun 2019 12:01
Forum: Visual Prolog
Topic: xmlhttp60 sending email
Replies: 1
Views: 257

Re: xmlhttp60 sending email

Not to my knowledge.
by Thomas Linder Puls
18 Jun 2019 9:26
Forum: Visual Prolog
Topic: Visual Prolog binary as .NET Core assembly
Replies: 8
Views: 481

Re: Visual Prolog binary as .NET Core assembly

It is correct that we had support for some Unix variants back in vip5. But we didn't use the Unix version ourselves and subsequently it was out of focus and thus under-considered, under-developed, under-tested, under-bug fixed, ... All in all it was just waste of resources on a product of low qualit...
by Thomas Linder Puls
17 Jun 2019 10:07
Forum: Visual Prolog
Topic: Visual Prolog binary as .NET Core assembly
Replies: 8
Views: 481

Re: Visual Prolog binary as .NET Core assembly

Thank you, for your advice :-). You can already write web services in Visual Prolog (micro or something else as you like). The .net platform does not require you to use a specific programming language. But ... the .net platform has a built-in mandatory type system, which any programming language on ...
by Thomas Linder Puls
13 Jun 2019 7:54
Forum: Visual Prolog
Topic: Visual Prolog binary as .NET Core assembly
Replies: 8
Views: 481

Re: Visual Prolog binary as .NET Core assembly

No.

Nor can it compile for Linux or macOS, but some have successfully run Visual Prolog programs on Wine.