Predicate arrayM::add/1->

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

Predicate arrayM::add/1->

Unread post by Martin Meyer » 9 Oct 2018 18:10

Hello Thomas,

I am not sure whether it is intended or you want to change it: The predicate arrayM::add/1-> does not return the index of the added element, but the index plus 1.
Regards Martin

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

Re: Predicate arrayM::add/1->

Unread post by Thomas Linder Puls » 9 Oct 2018 19:41

That is a bug, thank you. We will correct it in future releases.
Regards Thomas Linder Puls

Post Reply