Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
05 ArchiCAD 11 GDL Reference Guide.pdf
Скачиваний:
58
Добавлен:
11.03.2015
Размер:
3.22 Mб
Скачать

Expressions and Functions

LOG

LOG (x) Returns the natural logarithm of x.

Note: All returned values are real.

Boolean Functions

NOT

NOT (x) Returns false (=0 integer) if x is true (<>0), and true (=1 integer) if x is false (=0)(logical negation).

Note: Parameter value should be integer.

Statistical Functions

MIN

MIN (x1,x2, ... xn) Returns the smallest of an unlimited number of arguments.

MAX

MAX (x1,x2, ... xn) Returns the largest of an unlimited number of arguments.

RND

RND (x) Returns a random value between 0.0 and x (x > 0.0) always real.

Bit functions

BITTEST

BITTEST (x, b)

Returns 1 if the b bit of x is set, 0 otherwise.

BITSET

BITSET (x, b [, expr])

expr can be 0 or different, the default value is 1. Sets the b bit of x to 1 or 0 depending on the value of the specified expression, and returns the result. Parameter value should be integer, returned value is integer.

ArchiCAD 11 GDL Reference Guide

201