Search found 1322 matches

by pjw
Mon Dec 08, 2014 2:16 am
Forum: Software & Programming
Topic: TURBO parameter names
Replies: 33
Views: 15744

Re: TURBO parameter names

Michael, Yes, I agree there is a problem. I havent investigated any further to see whats going on. Cant think I never compiled it before - or perhaps something, somewhere, has changed since 1998? Your version works perfectly (SMSQ/E 3.22, QLib 3.35). I wrote separate sub-functions for strings and nu...
by pjw
Wed Oct 29, 2014 4:48 pm
Forum: Software & Programming
Topic: TURBO parameter names
Replies: 33
Views: 15744

Re: TURBO parameter names

TCAT, Thanks for the info. The article compares Qlib with SuperCharge. which, with its Lenslock technology was a real PITA. Turbo, its successor, is considerably better. However, I see that it still wont accept arrays as parameters for SB procs/fns, only m/c ones. That frequently doesnt work for me....
by pjw
Mon Oct 27, 2014 11:09 pm
Forum: Software & Programming
Topic: TURBO parameter names
Replies: 33
Views: 15744

Re: TURBO parameter names

PS: There is no problem otherwise in re-using a (scalar) variable name as a parameter. Basically, it works the same a declaring a variable LOCal within the proc/fn, and will have no effect on any global variable of the same name. Great! It would be a fiddly to keep a library of proc/fns if one had t...
by pjw
Mon Oct 27, 2014 11:00 pm
Forum: Software & Programming
Topic: TURBO parameter names
Replies: 33
Views: 15744

Re: TURBO parameter names

Im a bit rusty, but in SBasic, which is the SMSQ/E variant of SuperBASIC, once you have DIMmed a variable you cant use the same name again as a scalar variable or function or procedure name. I believe the same holds true for SupberBASIC. Also, once youve defined a proc/function, you cannot DIM an ar...
by pjw
Sun Jul 27, 2014 5:50 pm
Forum: Software & Programming
Topic: Follow up EasyPTR question
Replies: 2
Views: 2041

Re: Follow up EasyPTR question

I think its an EZP bug. You can make the first row smaller than 10 pix, but you cant put anything in it - such as a suitably sized sprite. Height 10+ and text or sprites works fine. Im sure youll find a work-around ;)

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

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: 3606

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: 6074

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: 6074

Re: EasyPTR query

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

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...