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
Exp_GetVal: Divide by 0
Author Message
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #5
RE: Exp_GetVal: Divide by 0
Oddly having played with a "similar" line in a test function on my server, i don't get any kind of errors and the % is taken as part of the string and displayed in the message....

My Test:

Code:
[function 1]
src.sysmessage <src.dtag0.test>% <qval (<src.account.dtag0.test2>==1)? yes:no>

set the tags to whatever you want... the output to the screen when you do .1 is as written in the function.

As a sysmessage it is a string and displayed as such unless the variable is taken from within <>
Given that % is not within the brackets it is part of the string.
I can't see why this does not work as written, it certainly does for me

[Image: 2nis46r.jpg]
(This post was last modified: 12-31-2012 06:12 AM by Mordaunt.)
12-31-2012 05:49 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
Exp_GetVal: Divide by 0 - Russian - 12-30-2012, 11:50 PM
RE: Exp_GetVal: Divide by 0 - Shaklaban - 12-31-2012, 12:58 AM
RE: Exp_GetVal: Divide by 0 - Mordaunt - 12-31-2012, 01:28 AM
RE: Exp_GetVal: Divide by 0 - Ben - 12-31-2012, 05:24 AM
RE: Exp_GetVal: Divide by 0 - Mordaunt - 12-31-2012 05:49 AM
RE: Exp_GetVal: Divide by 0 - Shaklaban - 12-31-2012, 08:18 AM
RE: Exp_GetVal: Divide by 0 - Mordaunt - 12-31-2012, 08:40 AM

Forum Jump:


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