Search found 326 matches
- 17 Jan 2021 4:00
- Forum: Visual Prolog
- Topic: What does [out] mean?
- Replies: 3
- Views: 264
Re: What does [out] mean?
The default specification for predicate definitions is [in], so you don't need to specify that a parameter is an input. You may be surprised to see that the IDE will change a valid definition like this: demoPred : (integer Input , string Output) (i,o). to this preferred form: demoPred : (integer Inp...
- 16 Jan 2021 18:22
- Forum: Visual Prolog
- Topic: What does [out] mean?
- Replies: 3
- Views: 264
Re: What does [out] mean?
[out] indicates that a value is returned from the predicate. For example: class predicates demoPred : (integer Input, string Output [out]). clauses demoPred(Input, OutPut) :- if Input < 0 then OutPut = "Negative" elseif Input = 0 then OutPut = "Zero" else OutPut = "Positive&...
- 12 Dec 2020 15:56
- Forum: Visual Prolog
- Topic: string::wrapString/4 documentation
- Replies: 0
- Views: 618
string::wrapString/4 documentation
wrapString : (string String, charCount HyphenLength, charCount MaxLength, string Indent) -> string* Lines. % @short % @detail #HyphenLength <= #MaxLength % @example % % All the statements below succeed: % ["123456","7890"] = string::wrapString("1234567890", 6, 6, "...
- 23 Nov 2020 16:57
- Forum: Visual Prolog
- Topic: Dynamically change font in projectToolbar Static Text
- Replies: 0
- Views: 701
Dynamically change font in projectToolbar Static Text
Is there a way to dynamically change the font in the projectToolbar beyond the options in the IDE wizard? I can change the text of the Static Text and can dynamically change a listButton's strings and font, but cannot figure out how to change the Text font. onTest(_Source, _MenuTag) :- vpiToolbar::g...
- 22 Nov 2020 21:15
- Forum: Visual Prolog
- Topic: Upgrade of CGI application
- Replies: 5
- Views: 996
Re: Upgrade of CGI application
That is beyond my expertise, unfortunately.
- 22 Nov 2020 17:40
- Forum: Visual Prolog
- Topic: Upgrade of CGI application
- Replies: 5
- Views: 996
Re: Upgrade of CGI application
cgi::init(stream::ansi(core:: ansi)),
Perhaps you want core::threadAnsi
Perhaps you want core::threadAnsi
- 18 Oct 2020 15:55
- Forum: Visual Prolog
- Topic: VIP 802 Find in Files stopped working
- Replies: 7
- Views: 5567
Re: VIP 802 Find in Files stopped working
Happened again after a Windows update today -- fixed it the same way as before.
This doesn't happen with VIP 9x.
This doesn't happen with VIP 9x.
- 10 Sep 2020 16:46
- Forum: Visual Prolog
- Topic: Find in Files (Replace All) is mangling text
- Replies: 2
- Views: 1672
Re: Find in Files (Replace All) is mangling text
Ahhh ... auto-format doesn't trigger on changes made by an external editor (Notepad++). I needed to change the Tab Replace by space setting in NPP so I don't need to remember to run the little macro I created to to that before closing the file.
Thanks!
Thanks!
- 9 Sep 2020 14:05
- Forum: Visual Prolog
- Topic: Find in Files (Replace All) is mangling text
- Replies: 2
- Views: 1672
Find in Files (Replace All) is mangling text
Find in Files/ Replace All seems to be having a problem with overwriting '(' and adjacent characters in the target text. If use, for example, the parameters below: Find in Files dialog.jpg The IDE changes the line below activityCombined_Updater::updateCombinedActivity(activityCombined_Updater::updat...
- 19 Aug 2020 10:53
- Forum: Visual Prolog
- Topic: VIP 802 Find in Files stopped working
- Replies: 7
- Views: 5567
Re: VIP 802 Find in Files stopped working
Solved: For some unknown reason, the FIF dialog was opening almost completely off the top of the desktop screen and only a tiny sliver of the grey bottom of the dialog was visible. I couldn't use the mouse to "grab" the title bar of the dialog because it was far off the screen, so I was ab...
- 14 Aug 2020 13:06
- Forum: Visual Prolog
- Topic: IDE Tools cannot launch one specific application
- Replies: 4
- Views: 2220
Re: IDE Tools cannot launch one specific application
C:\Program Files\zabkat\xplorer2\xplorer2_64.exe %* in the CMD file works if unquoted.
If it is quoted then xplorer2_64.exe does not handle the command line parameters.
Other applications may interact differently with CMD files with respect to quoting.
If it is quoted then xplorer2_64.exe does not handle the command line parameters.
Other applications may interact differently with CMD files with respect to quoting.
- 13 Aug 2020 17:59
- Forum: Visual Prolog
- Topic: IDE Tools cannot launch one specific application
- Replies: 4
- Views: 2220
Re: IDE Tools cannot launch one specific application
Surrounding the command C:\Program Files\zabkat\xplorer2\xplorer2_64.exe eliminates the error with Notepad++ but doesn't help with the VIP IDE. I notice that the Tool commands that are working point to C:\Program Files (x86)\... and the one for Xplorer2_64 is in C:\Program Files\... Could there be a...
- 13 Aug 2020 16:51
- Forum: Visual Prolog
- Topic: IDE Tools cannot launch one specific application
- Replies: 4
- Views: 2220
Re: IDE Tools cannot launch one specific application
Thanks, Thomas! I looked for hidden characters in the file name and found none. I tried running Xplorer2 from the Notepad++ command line and got this error message: Ashampoo_Snap_Thursday, August 13, 2020_11h13m51s_001_.jpg It will run from the command line (Win-R) and from the Xplorer2 command line...
- 10 Aug 2020 20:44
- Forum: Visual Prolog
- Topic: How to delete a source file
- Replies: 3
- Views: 2124
Re: How to delete a source file
There is no way in the Vip9x or 8x IDE. The right-click context menu option to Remove from Project also is limited to Packages, text files and resources, which makes sense since deleting just one of a class's files is illogical (although it might be logical to delete an interface whose name does not...
- 8 Aug 2020 21:32
- Forum: Visual Prolog
- Topic: IDE Tools cannot launch one specific application
- Replies: 4
- Views: 2220
IDE Tools cannot launch one specific application
When I try to set up one particular application ( xplorer2_64.exe ) to launch from the IDE tools the application window (I think) flashes briefly and closes. It behaves the same whether the Wait status on the Configure Tools dialog is set to Wait , NoWait or Auto . The application folder and file na...