Search found 28 matches

by augustinharrison
17 Jul 2019 12:03
Forum: Visual Prolog
Topic: display lines with numbers same length
Replies: 1
Views: 493

display lines with numbers same length

i have an interpreter that uses display. any procedure can write its results using the call to display. often these result lines have some text then an amount it shows. display "one example of amt = ", AmoutVariable display "another example of amt = ", AnotherAmountVariable on the result page that w...
by augustinharrison
31 May 2017 20:17
Forum: Visual Prolog
Topic: json and swi
Replies: 2
Views: 1463

json and swi

we have a new team member from the AI dept of the University of Georgia. he has written a json doc parser from swi prolog using DCG grammer. it was stated in this forum that grammar is somewhat of a window dressing and could be adapted fairly easily in vip. having 30 years in visual prolog (all the ...
by augustinharrison
24 Feb 2017 19:34
Forum: Visual Prolog
Topic: json doc
Replies: 12
Views: 3244

perfect

once again, that is exactly what i needed. thank you so much.

AEH
by augustinharrison
23 Feb 2017 23:03
Forum: Visual Prolog
Topic: json doc
Replies: 12
Views: 3244

parse dom

i am rolling now. the only other point is has anyone parsed a syntax statement like the java dom does? eg: requestSyntax = "json.abstractions[0].attributes.Identifications[IdentificationKey=Individual].IdentificationValue"; thanks. you have given me a means to write my piece of a real dynamic progra...
by augustinharrison
22 Feb 2017 21:56
Forum: Visual Prolog
Topic: json doc
Replies: 12
Views: 3244

json to and from doc

that was in fact the problem. thank you so much for taking your time to explain it. i am on the move again!!!
by augustinharrison
21 Feb 2017 15:36
Forum: Visual Prolog
Topic: json doc
Replies: 12
Views: 3244

json to and from doc

i see that code is putting all types into json types but i havent got it to compile. what i need though is the mechanism for taking a nosql document and be able to get and put the values of that document by position and name. an example would be to get the address or any other attribute i might need...
by augustinharrison
16 Feb 2017 18:26
Forum: Visual Prolog
Topic: json doc
Replies: 12
Views: 3244

json

let me take a shot with that. excellent. thank you.
by augustinharrison
15 Feb 2017 23:06
Forum: Visual Prolog
Topic: json doc
Replies: 12
Views: 3244

json dom

i would like you to build me a handler for json-DOM-visual prolog. i will have to replace the sql statements in my interpreter with references to my 5 data structures. eg:profiles,rates,stats,codes,accum. so DOC=profiles(entity,uid) could return a document with that data. creating a data access laye...
by augustinharrison
8 Feb 2017 21:38
Forum: Visual Prolog
Topic: json DOM
Replies: 1
Views: 1477

json DOM

is the DOM for json available to visual prolog so that i can map the recursive structure required to break down the levels in the json objects i will be parsing? the breakdown of the 7 types is good but i have some extensive nested examples to figure out. i will look at the java DOM json reference t...
by augustinharrison
8 Feb 2017 11:05
Forum: Visual Prolog
Topic: json doc
Replies: 12
Views: 3244

json doc

without any experience with the json example which i have downloaded, i tried to load some data into a format i can put into a json doc using the following code: domains xav_PairLst = xav_pairs*. xav_pairs = xav_Pair*. xav_Pair = av(col_name,data_type). data_type = string;real;xav_pairs;xav_PairLst....
by augustinharrison
30 Jan 2017 14:24
Forum: Visual Prolog
Topic: service from inside the socket project
Replies: 1
Views: 1258

service from inside the socket project

intech wrote the socket code for/with me and donated it to your forum for an example. i am now in r&d to use nosql or mongo db. is it possible to call out from the the socket project to a service where i can access either a json or java api ? i will need to continue calling my existing knowledge fro...
by augustinharrison
9 May 2014 18:42
Forum: Visual Prolog
Topic: log file inclusion speed
Replies: 2
Views: 1002

log

thank you Thomas
by augustinharrison
6 May 2014 21:49
Forum: Visual Prolog
Topic: log file inclusion speed
Replies: 2
Views: 1002

log file inclusion speed

I am writing a logfile and it is getting pounded. I thought of reading a debug(1) internal db from a file to control whether the log is written to or not by: consult debug(1) then in loop call.... log (_Msg) :- debug(1),!. log (_Msg) :- write_log(_Msg). with memory being so slow compared to cpu is t...
by augustinharrison
18 Apr 2014 21:14
Forum: Visual Prolog
Topic: 64 bit
Replies: 5
Views: 2263

64bit

thanks kari.

do you mean the program is loading a 32 bit dll which should be 64 bit or
that it should be loading a 32 bit dll ?


To answer Thomas,

I can build and execute a 64 bit new project without incident.

AEH
by augustinharrison
15 Apr 2014 19:45
Forum: Visual Prolog
Topic: 64 bit
Replies: 5
Views: 2263

64 bit

I have been attempting to compile my eks service to 64 bit. it is the socket project combined with PIE combined with odbc with a difference engine I wrote. after a troubling conversion when I run the 64exe I get the attached error... 0xc000007b the message is attached. I started with the socket beca...