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
Eval & Expressions
Author Message
eberk
Apprentice
*

Posts: 2
Likes Given: 0
Likes Received: 2 in 1 posts
Joined: Aug 2014
Reputation: 0



Post: #2
RE: Eval & Expressions
local.x+=XXXX without space to equal symbol ( = ) i think sphere read it like "YYYY=XXXX" means YYYY for 'local.x+' and XXXX is value, so in your example can u check (for example #2)
Code:
local.x 1
local.y 10
local.x+=1
local.y-=5
sysmessage "<dlocal.x> <dlocal.y> <dlocal.x+> <dlocal.y->" //Now it should Returns "1 10 1 5"

and sysmessage command (#3,#4) i think it want string value so actually you have to do it like
Code:
local.x 1
local.y 10
local.temp = <dlocal.x>+<dlocal.y>
sysmessage <dlocal.temp>
or as you discuss u have to use "eval" experession before sysmessage command reads for string. like; <eval <dlocal.x>+<dlocal.y>>
01-08-2015 07:15 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Eval & Expressions - Pestilence - 01-08-2015, 02:12 PM
RE: Eval & Expressions - eberk - 01-08-2015 07:15 PM
RE: Eval & Expressions - Extreme - 01-09-2015, 11:41 AM
RE: Eval & Expressions - Pestilence - 01-09-2015, 12:38 PM
RE: Eval & Expressions - XuN - 01-11-2015, 02:01 AM
RE: Eval & Expressions - Pestilence - 01-11-2015, 03:37 PM

Forum Jump:


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