user warning: Table './zuggsoftdb/accesslog' is marked as crashed and should be repaired query: INSERT INTO accesslog (title, path, url, hostname, uid, sid, timer, timestamp) values('', 'node/553', '', '38.107.179.241', 0, 'p9hsf3bgjdo5ftg4qbk7n6hpq6', 2784, 1337602578) in /home/tessh/public_html/modules/statistics/statistics.module on line 64.

Documentation

vartype

Syntax: %vartype(varname,type)

Returns the current type of a variable. If the optional type is specified, then the variable is changed to the indicated type. Do not include the @ character in the name of the variable. Here is a list of the variable type values:

0 - Autotype
1 - Integer
2 - Expanded string
3 - Literal string
4 - String list
5 - Database variable
6 - Array
7 - Floating point
8 - COM reference

Example

a=1
#CALL %vartype(a,7)
changes @a to be a floating point variable instead of the default autotype.

Add comment

Login or register to post comments