Default for a boolean component

Discussions related to Visual Prolog
Martin Meyer
VIP Member
Posts: 294
Joined: 14 Nov 2002 0:01

Default for a boolean component

Unread post by Martin Meyer » 5 Dec 2019 19:30

Hello Thomas,

please check this (in build 902) when building next VIP version:

Code: Select all

domains     rec = rec(integer Number, boolean Flag = false). %error c520 : Impossible to determine the type of the term     %rec = rec(integer Number, unsigned Flag = 0).   clauses     run() :-         Rec = rec(1),         stdIO::write(Rec).
With the outcommented version of the rec domain it works fine.
Regards Martin

User avatar
Thomas Linder Puls
VIP Member
Posts: 1649
Joined: 28 Feb 2000 0:01

Re: Default for a boolean component

Unread post by Thomas Linder Puls » 9 Dec 2019 14:35

Thank you. We have already solved this problem (internally).
Regards Thomas Linder Puls
PDC

Post Reply