Search found 497 matches

by pjw
Sat Jul 19, 2014 1:05 am
Forum: Software & Programming
Topic: EasyPTR query
Replies: 10
Views: 2583

Re: EasyPTR query

That should work.
by pjw
Fri Jul 18, 2014 7:02 pm
Forum: General QL Chat
Topic: Registered members
Replies: 5
Views: 2042

Registered members

Snipped from the Board Index page:

Registered users: Baidu [Spider], pjw

Hmm, I wonder how a Baidu spider managed to register..
by pjw
Fri Jul 18, 2014 6:57 pm
Forum: Software & Programming
Topic: EasyPTR query
Replies: 10
Views: 2583

Re: EasyPTR query

An event could be as simple as RDPT#ch; 48. This call returns immediately. All you need is a channel. So:
DIM erec%(15)
open channel and OUTLine it, then
...
RDPT#ch; 48: pval#ch; erec%
orgx% = erec%(10): yorg% = erec%(11)
by pjw
Thu Jul 17, 2014 9:06 pm
Forum: Software & Programming
Topic: EasyPTR query
Replies: 10
Views: 2583

Re: EasyPTR query

Try PVAL
by pjw
Tue Jul 15, 2014 4:41 pm
Forum: Software & Programming
Topic: JOB ID
Replies: 8
Views: 2062

Re: JOB ID

I decided to put my money where my mouth is (- or should that be my foot where my mouth is?) and devise a "safe" work-around for the problem I believe you presented. If this was not the problem, apologies. It was the problem for me recently, until I solved it in another way, hence my inter...
by pjw
Tue Jul 15, 2014 3:39 pm
Forum: Software & Programming
Topic: JOB ID
Replies: 8
Views: 2062

Re: JOB ID

Yes, it was the most recently started job about 1/50th of a second ago! Ie, if you want the most recent job because you started it to control it in some way, it is not a sure-fire way to do it. Some other process could conceivably start another job between you activating your job and getting its han...
by pjw
Sun Jul 13, 2014 11:36 pm
Forum: Software & Programming
Topic: JOB ID
Replies: 8
Views: 2062

Re: JOB ID

If it is the 'most recent' job you want it is the one with the highest 'tag' (see example below). If you are looking for a specific job you could search for it by name (modify the code below accordingly). If you want to execute a job and get that particular job's ID, then FEX is the best way to go -...