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
Variables in Defname
Author Message
Shaklaban
Master
**

Posts: 378
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 8

DOT

Post: #5
RE: Variables in Defname
its a definition, definitions are generally fixed values in programming. you can use functions for that purpose like:

PHP Code:
[function QUEST_13204_TEXTLOCALIZED]
return <
SRC.NAMEI nedd... and you have to go to the blacksmith here in <src.region.name

it is possible to use variables in function names like:

PHP Code:
local.questnum=13204
src
.sysmessage <quest_QUEST_<eval <local.questnum>>_TEXTLOCALIZED

you can also add arguments to text when you calling function.

or you can use clilocs.
(This post was last modified: 05-17-2012 01:31 AM by Shaklaban.)
05-17-2012 01:27 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
Variables in Defname - alexpetro - 05-05-2012, 07:36 PM
RE: Variables in Defname - Shaklaban - 05-06-2012, 01:01 AM
RE: Variables in Defname - jeem - 05-06-2012, 03:51 AM
RE: Variables in Defname - alexpetro - 05-17-2012, 01:09 AM
RE: Variables in Defname - Shaklaban - 05-17-2012 01:27 AM
RE: Variables in Defname - Ben - 05-17-2012, 09:56 AM

Forum Jump:


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