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,668
- Last Active
- Roles
- Member
Comments
-
No problem there. If you include a #pragma output statement, does this show any difference in what's actually being compiled?
-
Have you tried compiling this in OI's editor? If the same thing happens there then it's probably not specifically an SRP Editor thing..
-
OI10.2.3.20794 SRP Editor 3.4.7.1
-
That compiles with no errors for me..
-
All compiles are comming up with suspected unassigned variables that are not Not for me. There must be specific circumstances..
-
Just sayin' - the installer pages still say 3.4.6 - not a major ;)
-
Yes, the SRP Editor installer replaced SRPutilities.dll with the new version, 2.2.11.6. That seems ok. It looks like SYSOBJ/$SRP_EDITOR_SERVICES is missing from the SRP Editor RDK for OI10. It's there in the OI9 RDK.
-
Ah, thanks - that might explain it :)
-
Hi Kevin, Yes, that does the trick - thanks! I was able to replicate the issue on my computer by just leaving an SRPtree control up for half the day. It also affected the borders of SRPeditTables and subclassed editlines. I couldn't replicate …
-
I just came across this old thread, which now has a better solution. Well, I would not have expected the ALL keyword to return an array of values for you, so that works as expected. Hopefully you won't have that many performance issues by parsing th…
-
Hi Kevin, I’ve created a new version (4.2.5.12) of SRPControls and SRPControls64. In this version, you can pass “*” or “LIST” as a key Nice! This new [*] key reference for all (or a list of) items is faaaaantasic!! Definitely needed for gettin…
-
Just on setting the ItemList property itself, there's not a lot of difference. OI9 ~800 ticks; OI10 ~1000
-
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