Search found 7 matches

by Elena Efimova
22 May 2014 22:13
Forum: Visual Prolog
Topic: Create User Control
Replies: 16
Views: 5015

Re:

Hello! This code does not work in Visual Prolog 7.4: predicates onButtonMouseDown : window::mouseDownListener. clauses onButtonMouseDown(_Source, Point, ShiftControlAlt, Button) :- stdio::writef("Point = %, ShiftControlAlt = %, Button = %\n", Point, ShiftControlAlt, Button). But getFocusListener wor...
by Elena Efimova
11 Jan 2013 12:34
Forum: Visual Prolog
Topic: Problem with radixTree in Visual Prolog 7.4
Replies: 2
Views: 1409

Thank you, Thomas. It works.
The algorithm is correct. :-)
About Build -> Run in Window. I offen use it, but the console window is not "clean" in this case. There are extra lines in it. Sometimes it would be better without them.
by Elena Efimova
11 Jan 2013 9:56
Forum: Visual Prolog
Topic: Problem with radixTree in Visual Prolog 7.4
Replies: 2
Views: 1409

Problem with radixTree in Visual Prolog 7.4

Hello! This program works in Visual Prolog 7.3 but does not work in Visual Prolog 7.4: class facts tr : dictionary{dictionary{unsigned}} := empty. class predicates tryGet : (unsigned, unsigned) -> unsigned determ. setVal : (unsigned, unsigned, unsigned). clauses tryGet(X, Y) = lookup(lookup(tr, X), ...
by Elena Efimova
13 Dec 2012 16:02
Forum: Visual Prolog
Topic: Problem with commentaries in Visual Prolog 7.4
Replies: 3
Views: 1208

Thomas, I tested a small program (console application) many times for different sets of facts, "commenting" some of them. class facts p : (string, ... ...). clauses % p(..., ... ...). % p(..., ... ...). p(..., ... ...). p(..., ... ...). % 30-40 facts or clauses p(..., ... ...). % p(..., ... ...). p(...
by Elena Efimova
13 Dec 2012 13:01
Forum: Visual Prolog
Topic: Problem with commentaries in Visual Prolog 7.4
Replies: 3
Views: 1208

Problem with commentaries in Visual Prolog 7.4

Hello! When I mark the commentaries using %, after a couple or three runs or even at once, the entire page of code below that mark turns gray. The program works fine. After this, I replace the % by /* */ - everything is normal. But after the program a couple of times runs, again all is gray and it i...
by Elena Efimova
2 Dec 2012 19:45
Forum: Visual Prolog
Topic: Problem with console::setLocation in vip 7.4
Replies: 4
Views: 2865

Thank you! The problem has been solved. :-)
by Elena Efimova
30 Nov 2012 5:59
Forum: Visual Prolog
Topic: Problem with console::setLocation in vip 7.4
Replies: 4
Views: 2865

Problem with console::setLocation in vip 7.4

Hello!

It does not work (32 bit).