Site Tools


info_function
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


info_function [2006/08/01 03:45] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +# $EPIC: info_function.txt,v 1.2 2006/08/01 03:40:36 sthalik Exp $
 +======Synopsis:======
 +$__info__(c|o|s|v|r|i)
 +
 +======Technical:======
 +This function returns information about how the client was compiled.
 +
 +======Practical:======
 +This function is used to fetch information stored in the client at
 +compile time.  It can be used to find out who compiled it, and when;
 +what #define options were enabled; and to get the checksums of the
 +binary.
 +
 +======Returns:======
 +requested information
 +
 +======Options:======
 +<file>
 +c   user@machine that compiled client, and time of compilation
 +i   value of commit_id (incremented every time a change is made to
 +       epic's source).
 +m   if the new math parser is being used, 1, if the old math parser, 0
 +o   compile-time options used
 +r   the "silly name" (or, "ridiculous name") for this release of epic.
 +s   binary checksums
 +v   client version, in the form "class major minor"
 +w   local variables (always 1)
 +</file>
 +
 +======Examples:======
 +<file>
 +$info(c)   might return "Compiled by root@foobar on Fri Jan 3 1997 at 01:56:24 CST"
 +$info(i)   might return "202"
 +$info(m)   might return "0"
 +$info(o)   might return "2aefgknvzc"
 +$info(r)   might return "Perspicacious"
 +$info(s)   might return "1138232081      989 info.c.sh"
 +$info(v)   might return "epic4 1 0"
 +$info(w)   will return  "1"
 +</file>
  
info_function.txt · Last modified: 2006/08/01 03:45 by 127.0.0.1