Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
SRP_Math failing after installing latest 2.0.1
InData = 100
Start_Value = 0.0001
End_Value = 9999
InRange(InData, Start_Value, End_Value)
Value returned is false
Is something broken?
Start_Value = 0.0001
End_Value = 9999
InRange(InData, Start_Value, End_Value)
Value returned is false
Is something broken?
Comments
**********************************************
* Don Bakke, SRP *
* 6/10/08 *
* visim jrv 2-28-09 *
* check for numeric values for some reason *
* SRP_Math allows values like 2d to pass *
**********************************************
Declare function SRP_Math
RetVal = 0
* value must be numeric
If Num(InData) Then
* and within range
If SRP_Math("COMP", InData, StartValue) GE 0 And SRP_Math("COMP", EndValue, InData) GE 0 then
RetVal = 1
End
End
Return RetVal
In my OI install folder I have SRPUTILITY.DLL and SRPUTILITIES.DLL, could this be the source of the issue?
Name Size Type Modified Attr Location
SRPUTILITIES.DLL 1.54 MB Application extension 6/12/2018 9:06 AM -a----- C:\OI10
SRPUTILITIES.DLL 1.24 MB Application extension Tuesday 11:02 AM ------- C:\oi32
SRPUTILITIES.DLL 2.67 MB Application extension 9/6/2016 8:49 AM -a----- C:\OI32_05_19_17
SRPUTILITIES.DLL 2.67 MB Application extension 9/6/2016 8:49 AM -a----- C:\oi32_09_08_15
SRPUTILITIES.DLL 2.67 MB Application extension 9/6/2016 8:49 AM -a----- C:\oi32_bak
SRPUTILITIES.DLL 2.67 MB Application extension 9/6/2016 8:49 AM -a----- C:\oi32_before_OI10
SRPUTILITIES.DLL 1.24 MB Application extension Tuesday 11:02 AM -a----- C:\Users\jimva\Downloads\SRPUtilities...\32-bit
We'll take a look at this further tomorrow and report back ASAP.
Thank you, that fixed it.