The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Looking help with string text
Author Message
Breaker
Apprentice
*

Posts: 20
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Mar 2012
Reputation: 2



Post: #4
RE: Looking help with string text
1. This will be fixed the problem? or it will be necessary each time an additional server load, though the quotes are worked on 55R, but is no longer. And solution of shaklaban is not right exit from this issue.
2. sphere have function <CHR > - what converts ANSII number into char, example <CHR 64> - conver to: "A", to really include in sphere <ORD A> for convert backward,
and maybe really include analog functions that can converts string to integer and backwards....

PS: it's all because of my function:
PHP Code:
[FUNCTION GENERATE_CODE// ARGN = Letters count of CODE
IF (<ARGN> > 1) && (<ARGN> < 64)
   FOR 
I 1 <ARGN>
      
LOCAL.CODE="<QVAL !StrMatch(0,<LOCAL.CODE>)?<LOCAL.CODE>><CHR <QVAL (RAND(5)==0)?<EVAL (RAND(10)+48)>:<EVAL (RAND(26)+65)>>>"
   
ENDFOR
   RETURN 
"<LOCAL.CODE>"
ENDIF
RETURN 


CHR - i find this into spheresvr.exe, yet she was no where, not what is not said =)

it's all because of my function:
PHP Code:
[FUNCTION GENERATE_CODE// ARGN = Letters count of CODE
IF (<ARGN> > 1) && (<ARGN> < 64)
   FOR 
I 1 <ARGN>
      
LOCAL.CODE="<QVAL !StrMatch(0,<LOCAL.CODE>)?<LOCAL.CODE>><CHR <QVAL (RAND(5)==0)?<EVAL (RAND(10)+48)>:<EVAL (RAND(26)+65)>>>"
   
ENDFOR
   RETURN 
"<LOCAL.CODE>"
ENDIF
RETURN 


i make that on this time:
PHP Code:
[FUNCTION INT]
IF (<
IsNUM <ARGS>>)  // or maybe IF STRREGEX(^[0-9]+$,<ARGS>)
   
RETURN <ARGN>
ENDIF
RETURN 


and use that
LOCAL.TEST = 2147483647
SRC.SYSMESSAGE Default: <LOCAL.TEST>
SRC.SYSMESSAGE Convert: <QVAL (<INT <LOCAL.TEST>>) ? <INT <LOCAL.TEST>> : Cannot convert string to integer >
what easy for sphere my method or method of "Shaklaban" ?

Sorry for my bad english =(
(This post was last modified: 03-31-2013 05:08 AM by Breaker.)
03-31-2013 03:11 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Looking help with string text - Breaker - 03-30-2013, 04:56 PM
RE: Looking help with string text - Ben - 03-31-2013, 01:12 AM
RE: Looking help with string text - Breaker - 03-31-2013 03:11 AM
RE: Looking help with string text - Ben - 03-31-2013, 11:08 AM
RE: Looking help with string text - Ben - 03-31-2013, 01:45 PM
RE: Looking help with string text - Ben - 03-31-2013, 11:18 PM
RE: Looking help with string text - Ben - 04-02-2013, 10:57 AM

Forum Jump:


User(s) browsing this thread: 7 Guest(s)