Page 1 of 2. Showing 20 results (0.013 seconds)
RTI_CreateGUID Function
: RTI_CRYPTO - rti_crypto(method, param1,param2,param3) ans = RTI_CRYPTO( 'hex_md5', string ) ans = RTI_CRYPTO( 'b64_md5', string ) ans = RTI_CRYPTO( 'str_md5', string ) ans = RTI_CRYPTO( 'hex_hmac_md5', key, data ) ans = RTI_CRYPTO( 'b64_hmac_md5', key, data ) ans = RTI_CRYPTO( 'str_hmac_md5', key, data ) ansSRP_Regex Match
interested in substrings, then you should look into the Search service. Examples Pattern = '[Gg]o+gle' Ans = SRP_Regex('Match', 'ggle', Pattern) ; // False Ans = SRP_Regex('Match', 'Gogle', Pattern) ; // True Ans = SRP_Regex('Match', 'google', Pattern) ; // True AnsXREF Subroutine
building the Btree cross reference index. The array that you pass to XREF is returned, value mark-delimited, in @ANS. XREF does not keep track of the location … do not want to appear in the string that is returned @ANS. -OR- Identify the words that you want to search for in array. In this case, XREF returns in @ANSText Case Conversion - UPPER_CASE
(CHARSTR CONV, CHARSTR ANS, CHARSTR BRANCH, CHARSTR RETURN_DATA) declare function unassigned, namecap, mixedcase * * UPPER_CASE is a custom ICONV/OCONV procedure … conversions * Local Equates EQU VALID$ TO 0 ;* Successful if unassigned(BRANCH) then BRANCH = '' * Begin Conversion * RETURN_DATA = "" IF ANS NE "" THEN text = ANSZIP_FORMAT Conversion
, CHARSTR ANS, CHARSTR BRANCH, CHARSTR RETURN_DATA) * * ZIP_FORMAT is an example of a developer's custom prompt formatting * routine using the square brackets … the error message window * Begin Conversion * BEGIN CONDITION PRE: POST: END CONDITION RETURN_DATA = "" IF ANS NE "" THEN ZIP = ANS ANSPHONE_FORMAT Conversion Source Code
and uses the msg() function to display a customized error message.. The source is below: compile SUBROUTINE PHONE_FORMAT( charstr CONV, charstr ANS, charstr … * RETURN_DATA = "" IF ANS NE "" THEN TEL = ANS ANS = "" STATUS() = VALID$ *DFLT_AREA_CODE = "" * PHONE_FORMAT can supportTables and Dictionaries
Use the following variables when interfacing tables and dictionaries with BASIC+. Variable Description @ANS The variable used for storing the result of a symbolic field calculation. @DICT The dictionary of the primary table. @ID The key of the current row. @MV The value numberSRP_String StripRTF
is the default color Ans = SRP_String("StripRTF", Rtf)Mod Function
is returned and is divided by 7. The Case statement swaps the remainder with the day of the week. Since the result of the program is assigned to @ANS … = "SATURDAY" End Case @ANS = DAYCellConv
OConv. For example: Compile subroutine Cell_Conv(Conv, Ans, Branch, ReturnData) If Conv EQ "OCONV" then If Branch[1, 1] EQ "D" then If Num(Ans) then // The data is already in internal format, so just OConv it ReturnData = OConv(Ans, Branch) end else // The data is an some