Search found 88 matches

by daveplummermd
6 Oct 2018 21:30
Forum: Visual Prolog
Topic: Accessing a txt file resource
Replies: 7
Views: 4853

Re: Accessing a txt file resource

looking forward to it. Good addition.
by daveplummermd
6 Oct 2018 21:25
Forum: Visual Prolog
Topic: detecting and switching to non-VP windows
Replies: 0
Views: 4315

detecting and switching to non-VP windows

Hello I am looking to detect an active window OUTSIDE of the VIP program and then switch to that window. My VIP window doing the work is minimized. 1) A timer event detects active window (other program running...) 2) The user focuses away from this window. 3) program via timer event detects the chan...
by daveplummermd
2 Oct 2018 14:29
Forum: Visual Prolog
Topic: Accessing a txt file resource
Replies: 7
Views: 4853

Accessing a txt file resource

Guys I have added a text file as a resource in a package. How do I access the text contents of that file? https://lh3.googleusercontent.com/rHCtg1KfOYsI-mV6xhD7yf6hYyPcWbwUzHmlCl1tk-hJtHy8Bdpvb_OCKb-YQOPu9Se-UzkiYifSNJHQ1DwLnlwyuq61mPKSAVPi3J9p1Q0rX_j0WO22tHy-jm9bZitgRHXbi98S1g48axUgrZKk-1y9m3x0YMhu...
by daveplummermd
6 Aug 2018 0:47
Forum: Visual Prolog
Topic: Explanation of error generated
Replies: 1
Views: 4297

Explanation of error generated

Given the error message below, is there an indication of the file/position of the code responsible?
Capture.JPG
Capture.JPG (68.94 KiB) Viewed 4297 times
Thanks in advance
by daveplummermd
19 May 2018 12:40
Forum: Visual Prolog
Topic: test is string is number
Replies: 4
Views: 5441

Re: test is string is number

Thanks , but in what class/package can I find trytoTerm?
dp
by daveplummermd
17 May 2018 19:26
Forum: Visual Prolog
Topic: test is string is number
Replies: 4
Views: 5441

test is string is number

Guys

How can I test if a string is a number?

Thanks in advance

Dave
by daveplummermd
17 May 2018 17:20
Forum: Visual Prolog
Topic: sciLexer selcted text
Replies: 2
Views: 5682

sciLexer selcted text

Guys

How can I determine the selection selected text in a sciLexar custom control?

thanks in advance
dp
by daveplummermd
5 May 2018 9:34
Forum: Visual Prolog
Topic: Get Menu check status
Replies: 7
Views: 8045

Get Menu check status

Hello
I have 8.01 CE

How does one get the check value of a taskwindow menu item. I understand a workaround by creating a fact to keep track, but iI bet there is a more direct predicate.
If there is example file , just refer me there.

Thanks in advance

dave
by daveplummermd
22 Apr 2018 12:48
Forum: Visual Prolog
Topic: Dropdown activation
Replies: 1
Views: 5669

Dropdown activation

Hello
Is it possible to programmatically activate the dropdown section of a list edit control?

I want to drop down to reveal the list elements without activation by the user.

thanks in advance

dave
by daveplummermd
20 Apr 2018 17:59
Forum: Visual Prolog
Topic: Change variable value employing expression of same variable
Replies: 5
Views: 5751

Re: Change variable value employing expression of same variable

Well, the expression on the right requires the var Slist to be bound.
If the expression results in a change, then the "=" is a test of equality, that will always fail.

dave
by daveplummermd
20 Apr 2018 15:03
Forum: Visual Prolog
Topic: Change variable value employing expression of same variable
Replies: 5
Views: 5751

Change variable value employing expression of same variable

Hello
Is there a way to change the value of a variable using an expression employing the same variable?

For example if Slist is of type string*:

Code: Select all

... changeVriable(Slist):         Slist==myProcedureThatReturnsNewList(Slist),         ....        
I have blindly tied "==" and ":=".

Thanks in advance.

dave
by daveplummermd
19 Apr 2018 20:08
Forum: Visual Prolog
Topic: seeking retrieve the value of an argument irrespective of functor
Replies: 2
Views: 5124

seeking retrieve the value of an argument irrespective of functor

Hello I am seeking a way to retrieve the value of an argument irrespective of it's functor. I have a domain for attributes of a person: personAtr = last(string); first(string); ..... hundredslater(string). every attribute has a functor (last, first.....hundredslater) , and a single arity argument th...
by daveplummermd
16 Apr 2018 9:35
Forum: Visual Prolog
Topic: message window wrap
Replies: 2
Views: 5122

Re: message window wrap

Thanks Thomas
dave