Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
MattCrozier
About
- Username
- MattCrozier
- Joined
- Visits
- 1,834
- Last Active
- Roles
- Member
Comments
-
Further to this, there's a case where I need to get the ItemExpanded[key] property for every item in the list. For this same list, in OI9 it takes ~3,000 ticks whereas in OI10 it takes ~16,000 ! The trouble is, there doesn't seem to be a way to get…
-
Yeah, I used TimeGetTime() in my tests. The list has 10,735 items in it. Here are ballpark average timings:
-
If you're OI9 system is connected to the Universal Driver v5.2, then you can use the RTI_Lock_Owner() function. Actually, it looks like RTI_Lock_Owner() is available with UD 4.7.2, as long as OI9.4 has the patches. FWIW, I've found this functio…
-
Interesting - thanks! Not as easy as I thought though..
-
You need to use Declare statements for any external functions or subroutines. Click the link for details and examples.
-
See this thread on Form Designer HTH, M@
-
Perhaps there was a time when the bug tracker was using the older editor. I think it's more consistent with the forums now.
-
I use postimages.org . I thought I learnt that trick from you, Barry !? ;)
-
Just looking at the default source for RDKmoduleInstall suggests that parameters aren't supported case Section = EXECPROC$ * structure of line is procname call @Line case Section = EXECPROCPOST$ pro…
-
Yeap, that's nice - thanks Kevin :)
-
Interesting! These are just examples (and not even finalised yet). ▼ is Unicode 9660, Black Down-Pointing Triangle. 3 bytes in OI UTF8 = E296BC 🔎 is Unicode 55357 . Actually, it appears to be just this character causing the above. It appears to …
-
That's true, although it's just not as readable or visually obvious - which is a shame. Even as a comment, the character can throw off the coloring.
-
Or for portability (unless this is an OI10 bug that gets fixed), possibly rndRange = NumberTo - NumberFrom If isEngine64() then rndRange += 1 R = Rnd( rndRange) + NumberFrom
-
Very quick and dirty program ;) n = 9999999 f = 0; t = 499 min = (f+t)/2; max = min InitRnd time() For i = 1 to n r = rnd( t-(f-1))+f If r < min then min = r If r > max then max = r Next n Return min: '-': max
-
Curious - I'm finding different behaviour between OI9 and OI10, and the help is not accurate in both places!? In OI9, this expression returns random numbers between 1001 and 3457 - implying that RND(n) is inclusive of n. This is as documented in t…
-
It works for me!? v2.2.2 and v2.2.7. Today, that expression return '8'. For tomorrow it returns '9'.
-
I did some benchmarking on these techniques a while ago. This showed (among other things) that manipulating a pre-filled string (using putBinaryValue, in my case) performed linearly as N increased, compared to order N-squared using concatenation. …
-
Ok, thanks - it must be my set up
-
@BarryStevens - I'm finding in the new OI 10.2.1 beta 2 that pressing the ... option you've shown in this thread, just crashes the system. Does the same happen for you?
-
Interesting! Thanks Barry
-
In this case it was a fresh install of OI 10.2.1, on which I ran the SRP Editor installer. But I forgot that it was an Option that needed to be set - sorry! Thanks :)
-
Sorry, I'm assuming the context viewed in the thread. Referring to the 'Launch the SRP Editor' menu item that in OI 10.1 was visible in the Tools menu of the IDE.
-
Ah, makes sense :)
-
Just to add that when installing SRP Editor 3.4.1.2 into OI 10.2.1, the Launch SRP Editor shortcut does not appear at all - although the Help menu does remain intact.
-
I got this too, but after installing SRP Editor (3.4.1.2) into OI 10.2.1. Curious that it's looking for SRPEditor.ocx rather than SRPEditor64.ocx !?
-
Interesting! Previous versions of the RList documentation would state: I wonder if RList always had that functionality but it wasn't exposed, especially in the 16bit days.
-
That seems to be a mistake in the blog article. It appears that the HEX_SHA256 method is only supported in OI 10. CRC32 isn't a documented method either, for that matter - although it does return a value. However the returned value is different b…
-
Are there any duplicated rows in the !CLIENTS index definition record in the !CLIENTS file? I'd try clearing all the pending transactions then deleting the ! record in the !CLIENTS file, forcing it to be recompiled.
-
We saw this many years ago, mainly in peer-to-peer configurations without a linear hash service. I think this might be low level locking within the linear hash system internally.
-
Is the second line shown there valid? (specifically the extra '<' at the beginning), or even needed? It seems to be redundant.