Search results

From wiki.visual-prolog.com

Page title matches

Page text matches

  • Multi-threading is only possible in the '''Commercial Edition'''. ...d by the <vp>thread</vp> class/interface. And it is very simple to create a new thread:
    1 KB (160 words) - 12:03, 4 March 2016
  • You can use this code to prevent a program from being started again when it already runs: ...r this purpose. To limit your application to one instance per user, create a locked file in the user's profile directory.''
    1 KB (164 words) - 21:55, 8 May 2012
  • Windows GUI is not thread safe, only the thread that runs the message pump of a window should accees that window. In Visual Prolog all windows (except mod ...a GUI application stdio will thus be thread safe while it is redirected to a <vp>messageControl</vp>/<vp>messageForm</vp>, but if it is redirected to so
    1 KB (198 words) - 17:18, 19 February 2019
  • A Vip program uses three storages for data: ...cate is invoked, the parameters are first pushed on the Run Stack and then a call to the predicate is made. The return address is also placed on the sta
    10 KB (1,784 words) - 11:57, 4 March 2016
  • *The Polyline10 Project uses the NotificationAgency Package, which is a part of the VipSpb SDK.
    789 bytes (94 words) - 21:44, 1 April 2011
  • ...threads is "delicate" and can cause problems. The archetypical example is a counter. To increment the count ...er value from the memory, add one to it, and store the new value back. As a result the counter will become '''''one''''' larger, even though we have pe
    21 KB (3,748 words) - 18:13, 12 March 2019
  • ...strategies for complex problem solving'' by ''George F. Luger and William A. Stubblefield''. ...to transfer (by boat) a wolf, a goat, and a cabbage from the left bank of a river to the right bank. If left unsupervised, the wolf will eat the goat a
    3 KB (409 words) - 15:46, 6 May 2013
  • if-then-else can be used both as a statement and as an expression. The if-then-eslse statement conditionally executes a group of statements.
    3 KB (440 words) - 16:39, 28 March 2015
  • ...lly statement provides means for dealing with exceptions that may occur in a given block of code. A try-construction thus have a <vpbnf>Term</vpbnf> and a list of catch and finally handlers.
    4 KB (613 words) - 11:39, 12 February 2013
  • The N-queen problem is a classical Prolog problem, often used to illustrate a generate and test solution strategy. * Since a queen can hit horizontally there can at most be one queen in each row.
    3 KB (528 words) - 13:28, 9 November 2008
  • ...ication with a HTML/JavaScript front-end that run in the users browser and a backend written in Visual Prolog. ...mple self-contained and to illustrate how front-end code can interact with a Visual Prolog web service.
    22 KB (3,465 words) - 15:14, 14 September 2021
  • The Polyline10 Project uses the NotificationAgency Package, which is a part of the PdcSpb SDK.
    2 KB (217 words) - 10:27, 12 August 2011
  • ...urce file to constitute one '''''compilation unit'''''. The compilation of a compilation unit is done in two conceptual steps: *first the input is transformed into a sequence of tokens;
    10 KB (1,253 words) - 17:02, 26 February 2019
  • * explicit externally resolution is only legal when a DLL is stated It is now possible to have several packages with same name in a project (which can make much sense when using namespaces).
    8 KB (1,045 words) - 12:57, 14 May 2018
  • ...n writing data, but more importantly it is used by the debugger to provide a much more programmer friendly presentation of complex data structures. * A new [[Presenters]] facility for improved debugging experience and runtime p
    6 KB (773 words) - 13:05, 14 May 2018
  • ...o or more threads that use a shared resource, usually a hardware device or a set of variables. The compiler transparently inserts locking and unlocking ...itor interface is defined by writing the keyword '''monitor''' in front of a regular interface definition:
    11 KB (1,405 words) - 10:11, 7 April 2014
  • ...ifferent specified directories. The PFC VPI/vpiTreeView package is used as a GUI interface end. | This program demonstrates a simple form and how a new form can be created dynamically.
    7 KB (992 words) - 15:58, 8 January 2024
  • ...tice''' to ensure source code compatability between 32 and 64 bit programs a number of types have been changed and it is necessary to update the program * Error c550 for inlining a field from a null pointer
    9 KB (1,318 words) - 12:57, 14 May 2018
  • ...structures). Compound domains are used to handle several pieces of data as a single entity. Lists is an example of compound domains. Lists are used so m ...and year – but it is useful to treat the whole thing as a single data with a treelike structure:
    25 KB (3,648 words) - 16:17, 14 February 2023
  • ...esume it later when 'possible' or 'feasible'. In an asynchronous context, a suspending predicate suspends its execution when it is waiting for an async A key advantage of suspending predicates is that they do not block threads wh
    27 KB (3,970 words) - 14:58, 16 April 2024
  • ...ation. In a project that contains old migrated resources it can also play a role for these. ...er a string to search for. The search string can be specified by selecting a substring in the text editor before calling the '''Source Browser''' dialog
    10 KB (1,576 words) - 13:42, 11 September 2019
  • ...ngs''' menu item. '''Project Settings''' is also activated when you create a new project (with the '''Project | New''' command). When creating a new project the sheet looks like:
    12 KB (1,887 words) - 16:13, 9 September 2019
  • A major new feature of Visual Prolog 7.5 is the support for creating Web Serv Vip is a directory (Commercial Edition only) that provides access to certain intern
    7 KB (906 words) - 12:58, 14 May 2018
  • A predicates section declares a set of object or class predicates in the current scope. * predicates declared in a class declaration are always class predicates.
    27 KB (4,014 words) - 14:02, 11 January 2024
  • When you open a GUI dialog or a form (GUI window) in the '''IDE Designer''', then the '''Control Properties If the '''Control Properties''' table is closed, double-click a control to show the table. The '''Control Attributes''' command, from the {
    32 KB (4,527 words) - 10:38, 5 September 2018
  • * Warning c665 for a fact which is always initialized with a constant and is not changed (switched off by the default) ** New: <vp>executionContext_pool</vp> a multi threaded pool for asynchronous and background work
    8 KB (1,051 words) - 12:50, 24 April 2024
  • * The generating a simple exceptions; ** Models of behavior of a human and of a computer built as dynamic classes;
    14 KB (1,414 words) - 15:35, 1 April 2011
  • The new release improves Visual Prolog stability and includes a lot of bug fixes. Visual Prolog 7.2 brings several language improvements. This section gives a brief overview of some of them.
    14 KB (2,298 words) - 12:57, 14 May 2018
  • |Insert a fact at the beginning of the matched internal facts database. |Insert a fact at the end of the matched internal facts database.
    38 KB (5,621 words) - 12:55, 31 May 2022
  • ...er and append – while looking at list processing from both a recursive and a procedural standpoint. ...nd collect all solutions to a single goal. We round out this tutorial with a discussion of compound lists – combinations of different types of element
    34 KB (5,555 words) - 15:42, 5 September 2022
  • ...ieval and an ability to sort quickly, and it supports multi-user access by a mechanism for serializing the file accesses inside transactions. ...o use and suitable for many applications. However, the RAM requirements of a database can easily exceed the capacity of your computer; the external data
    44 KB (7,532 words) - 17:31, 18 May 2020