Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/lbfactory/LBFactory.php on line 697

Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::open($save_path, $session_name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /disk/data1/ccarh-project/ccarhwiki/website/includes/session/PHPSessionHandler.php on line 180

Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /disk/data1/ccarh-project/ccarhwiki/website/includes/session/PHPSessionHandler.php on line 195

Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::read($id) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /disk/data1/ccarh-project/ccarhwiki/website/includes/session/PHPSessionHandler.php on line 209

Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::write($id, $dataStr) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /disk/data1/ccarh-project/ccarhwiki/website/includes/session/PHPSessionHandler.php on line 237

Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::destroy($id) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /disk/data1/ccarh-project/ccarhwiki/website/includes/session/PHPSessionHandler.php on line 343

Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /disk/data1/ccarh-project/ccarhwiki/website/includes/session/PHPSessionHandler.php on line 364

Deprecated: Return type of MediaWiki\Session\Session::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /disk/data1/ccarh-project/ccarhwiki/website/includes/session/Session.php on line 625

Deprecated: Return type of MediaWiki\Session\Session::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /disk/data1/ccarh-project/ccarhwiki/website/includes/session/Session.php on line 631

Deprecated: Return type of MediaWiki\Session\Session::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /disk/data1/ccarh-project/ccarhwiki/website/includes/session/Session.php on line 643

Deprecated: Return type of MediaWiki\Session\Session::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /disk/data1/ccarh-project/ccarhwiki/website/includes/session/Session.php on line 637

Deprecated: Return type of MediaWiki\Session\Session::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /disk/data1/ccarh-project/ccarhwiki/website/includes/session/Session.php on line 655

Deprecated: Return type of MediaWiki\Session\Session::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /disk/data1/ccarh-project/ccarhwiki/website/includes/session/Session.php on line 649

Deprecated: Return type of MediaWiki\Session\Session::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /disk/data1/ccarh-project/ccarhwiki/website/includes/session/Session.php on line 665

Deprecated: Return type of & MediaWiki\Session\Session::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /disk/data1/ccarh-project/ccarhwiki/website/includes/session/Session.php on line 678

Deprecated: Return type of MediaWiki\Session\Session::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /disk/data1/ccarh-project/ccarhwiki/website/includes/session/Session.php on line 688

Deprecated: Return type of MediaWiki\Session\Session::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /disk/data1/ccarh-project/ccarhwiki/website/includes/session/Session.php on line 693

Deprecated: MapCacheLRU implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/MapCacheLRU.php on line 37

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: Return type of Wikimedia\Rdbms\IResultWrapper::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/resultwrapper/IResultWrapper.php on line 70

Deprecated: Return type of Wikimedia\Rdbms\IResultWrapper::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/resultwrapper/IResultWrapper.php on line 80

Deprecated: Return type of Wikimedia\Rdbms\IResultWrapper::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/resultwrapper/IResultWrapper.php on line 75

Deprecated: Return type of Wikimedia\Rdbms\ResultWrapper::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/resultwrapper/ResultWrapper.php on line 116

Deprecated: Return type of Wikimedia\Rdbms\ResultWrapper::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/resultwrapper/ResultWrapper.php on line 89

Warning: Resource ID#3 used as offset, casting to integer (3) in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/objectcache/MemcachedClient.php on line 545

Warning: Resource ID#3 used as offset, casting to integer (3) in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/objectcache/MemcachedClient.php on line 545

Warning: Resource ID#3 used as offset, casting to integer (3) in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/objectcache/MemcachedClient.php on line 545

Deprecated: Message implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /disk/data1/ccarh-project/ccarhwiki/website/includes/Message.php on line 160

Deprecated: Creation of dynamic property RequestContext::$recursion is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/context/RequestContext.php on line 328

Deprecated: ctype_digit(): Argument of type bool will be interpreted as string in the future in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/objectcache/BagOStuff.php on line 735

Warning: Resource ID#3 used as offset, casting to integer (3) in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/objectcache/MemcachedClient.php on line 545

Warning: Resource ID#3 used as offset, casting to integer (3) in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/objectcache/MemcachedClient.php on line 545

Warning: Resource ID#3 used as offset, casting to integer (3) in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/objectcache/MemcachedClient.php on line 545

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Warning: Resource ID#3 used as offset, casting to integer (3) in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/objectcache/MemcachedClient.php on line 545

Warning: Resource ID#3 used as offset, casting to integer (3) in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/objectcache/MemcachedClient.php on line 545

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: Creation of dynamic property Parser::$mPreprocessorClass is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/parser/Parser.php on line 314

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: Creation of dynamic property Parser::$extCite is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/extensions/Cite/includes/Cite.php on line 1293

Deprecated: Creation of dynamic property PPDStack::$accum is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/parser/Preprocessor_DOM.php on line 847

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Warning: Cannot modify header information - headers already sent by (output started at /disk/data1/ccarh-project/ccarhwiki/website/includes/session/Session.php:48) in /disk/data1/ccarh-project/ccarhwiki/website/includes/Feed.php on line 294

Warning: Cannot modify header information - headers already sent by (output started at /disk/data1/ccarh-project/ccarhwiki/website/includes/session/Session.php:48) in /disk/data1/ccarh-project/ccarhwiki/website/includes/Feed.php on line 300

Warning: Cannot modify header information - headers already sent by (output started at /disk/data1/ccarh-project/ccarhwiki/website/includes/session/Session.php:48) in /disk/data1/ccarh-project/ccarhwiki/website/includes/WebResponse.php on line 72

Warning: Cannot modify header information - headers already sent by (output started at /disk/data1/ccarh-project/ccarhwiki/website/includes/session/Session.php:48) in /disk/data1/ccarh-project/ccarhwiki/website/includes/WebResponse.php on line 72

Warning: Cannot modify header information - headers already sent by (output started at /disk/data1/ccarh-project/ccarhwiki/website/includes/session/Session.php:48) in /disk/data1/ccarh-project/ccarhwiki/website/includes/WebResponse.php on line 72

Warning: Cannot modify header information - headers already sent by (output started at /disk/data1/ccarh-project/ccarhwiki/website/includes/session/Session.php:48) in /disk/data1/ccarh-project/ccarhwiki/website/includes/WebResponse.php on line 72
https://wiki.ccarh.org/index.php?action=history&feed=atom&title=Zbex_functions Zbex functions - Revision history 2024-12-04T08:50:35Z Revision history for this page on the wiki MediaWiki 1.33.0
Deprecated: RawMessage implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /disk/data1/ccarh-project/ccarhwiki/website/includes/RawMessage.php on line 34

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Warning: Resource ID#3 used as offset, casting to integer (3) in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/objectcache/MemcachedClient.php on line 545

Warning: Resource ID#3 used as offset, casting to integer (3) in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/objectcache/MemcachedClient.php on line 545

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Warning: Resource ID#3 used as offset, casting to integer (3) in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/objectcache/MemcachedClient.php on line 545

Warning: Resource ID#3 used as offset, casting to integer (3) in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/objectcache/MemcachedClient.php on line 545

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Warning: Resource ID#3 used as offset, casting to integer (3) in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/objectcache/MemcachedClient.php on line 545

Deprecated: Creation of dynamic property PoolCounterWorkViaCallback::$poolCounter is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/poolcounter/PoolCounterWork.php on line 39

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618
https://wiki.ccarh.org/index.php?title=Zbex_functions&diff=748&oldid=prev Craig: added chapter navigator at top of page 2010-10-15T06:17:44Z <p>added chapter navigator at top of page</p> <table class="diff diff-contentalign-left" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 06:17, 15 October 2010</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td> <td colspan="2" class="diff-lineno">Line 1:</td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">{{ZbexChap</ins></div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">  | before =  [[Zbex relations|Relations]]</ins></div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">  | after =  [[Zbex procedures|Procedures]]</ins></div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">}}</ins></div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">&lt;center&gt;</ins></div></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>__TOC__</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>__TOC__</div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">&lt;/center&gt;</ins></div></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The Zbex language includes a number of functions.  The purpose of functions is to facilitate the writing of Zbex programs and to increase the speed of these programs.  Functions can be used in assignment statements any place a normal variable can be used.  Functions are classified by the data type of their output.  Non-string and non-bit string functions can appear in relations.   </div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The Zbex language includes a number of functions.  The purpose of functions is to facilitate the writing of Zbex programs and to increase the speed of these programs.  Functions can be used in assignment statements any place a normal variable can be used.  Functions are classified by the data type of their output.  Non-string and non-bit string functions can appear in relations.   </div></td></tr> </table> Craig
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Warning: Resource ID#3 used as offset, casting to integer (3) in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/objectcache/MemcachedClient.php on line 545

Warning: Resource ID#3 used as offset, casting to integer (3) in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/objectcache/MemcachedClient.php on line 545

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618
https://wiki.ccarh.org/index.php?title=Zbex_functions&diff=733&oldid=prev Craig: added chapter navigator at bottom of page 2010-10-15T05:56:07Z <p>added chapter navigator at bottom of page</p> <table class="diff diff-contentalign-left" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 05:56, 15 October 2010</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l696" >Line 696:</td> <td colspan="2" class="diff-lineno">Line 696:</td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>         &lt;span style=&quot;color:black; background-color:#00ff00&quot;&gt;&amp;#9608;&amp;#9608;&amp;#9608;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9608;&amp;#9608;&amp;#9608;&lt;/span&gt;  </div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>         &lt;span style=&quot;color:black; background-color:#00ff00&quot;&gt;&amp;#9608;&amp;#9608;&amp;#9608;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9608;&amp;#9608;&amp;#9608;&lt;/span&gt;  </div></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>         Ready for program</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>         Ready for program</div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">{{ZbexChap</ins></div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">  | before =  [[Zbex relations|Relations]]</ins></div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">  | after =  [[Zbex procedures|Procedures]]</ins></div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">}}</ins></div></td></tr> <!-- diff cache key ccarhwiki-cw_:diff::1.12:old-552:rev-733 --> </table> Craig
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Warning: Resource ID#3 used as offset, casting to integer (3) in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/objectcache/MemcachedClient.php on line 545

Warning: Resource ID#3 used as offset, casting to integer (3) in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/objectcache/MemcachedClient.php on line 545

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618
https://wiki.ccarh.org/index.php?title=Zbex_functions&diff=552&oldid=prev Craig: added green color to putc output in last program on page 2010-10-14T01:05:24Z <p>added green color to putc output in last program on page</p> <table class="diff diff-contentalign-left" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 01:05, 14 October 2010</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l679" >Line 679:</td> <td colspan="2" class="diff-lineno">Line 679:</td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>             loop for i = 1 to 9  </div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>             loop for i = 1 to 9  </div></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>               a = upk(pattern(i), b)  </div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>               a = upk(pattern(i), b)  </div></td></tr> <tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>               putc ~a  </div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>               putc <ins class="diffchange diffchange-inline">&lt;span style=&quot;color:black; background-color:#00ff00&quot;&gt;</ins>~a <ins class="diffchange diffchange-inline">&lt;/span&gt;</ins></div></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>             repeat  </div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>             repeat  </div></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>             run  </div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>             run  </div></td></tr> <!-- diff cache key ccarhwiki-cw_:diff::1.12:old-551:rev-552 --> </table> Craig
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /disk/data1/ccarh-project/ccarhwiki/website/includes/libs/rdbms/database/Database.php on line 618
https://wiki.ccarh.org/index.php?title=Zbex_functions&diff=551&oldid=prev Craig: created page 2010-10-14T01:00:22Z <p>created page</p> <p><b>New page</b></p><div>__TOC__<br /> <br /> The Zbex language includes a number of functions. The purpose of functions is to facilitate the writing of Zbex programs and to increase the speed of these programs. Functions can be used in assignment statements any place a normal variable can be used. Functions are classified by the data type of their output. Non-string and non-bit string functions can appear in relations. <br /> <br /> == Functions with integer output ==<br /> <br /> &lt;center&gt;<br /> {| class=&quot;wikitable&quot; cellpadding=&quot;5&quot; cellspacing=&quot;0&quot; border=&quot;1&quot; style=&quot;width:650px&quot;<br /> |- {{Style|table header}}<br /> ! scope=&quot;col&quot; width=&quot;150px&quot; | Function<br /> ! scope=&quot;col&quot; width=&quot;500px&quot; | Output<br /> |- <br /> | &lt;tt&gt;rnd(int)&lt;/tt&gt; || deliver a random number between 0 and &amp;lt;input&amp;gt; <br /> |- <br /> | &lt;tt&gt;not(int)&lt;/tt&gt; || ones complement of &amp;lt;input&amp;gt; <br /> |- <br /> | &lt;tt&gt;abs(int)&lt;/tt&gt; || absolute value of &amp;lt;input&amp;gt; <br /> <br /> |- <br /> | &lt;tt&gt;and(int,int)&lt;/tt&gt; || for input (x,y), output = x &amp; y <br /> |- <br /> | &lt;tt&gt;ior(int,int)&lt;/tt&gt; || for input (x,y), output = x &lt;nowiki&gt;|&lt;/nowiki&gt; y <br /> |- <br /> | &lt;tt&gt;xor(int,int)&lt;/tt&gt; || for input (x,y), output = x exclusive or y <br /> |- <br /> | &lt;tt&gt;bit(int,int)&lt;/tt&gt; || for input (x,y), output = bit x of y (0 is low order) <br /> |- <br /> | &lt;tt&gt;shr(int,int)&lt;/tt&gt; || for input (x,y), output = shift x right y bits <br /> |- <br /> | &lt;tt&gt;shl(int,int)&lt;/tt&gt; || for input (x,y), output = shift x left y bits <br /> <br /> |- <br /> | &lt;tt&gt;tst(table)&lt;/tt&gt; || output = number of entries in the table tst also resets the sequential tget <br /> |- <br /> | &lt;tt&gt;tdx(table,str)&lt;/tt&gt; || output = index number for key (second input) or 0 if the given key is not present <br /> <br /> |- <br /> | &lt;tt&gt;fix(real)&lt;/tt&gt; || integer value of real number input <br /> <br /> |- <br /> | &lt;tt&gt;len(str)&lt;/tt&gt; || length of input string <br /> |- <br /> | &lt;tt&gt;int(str)&lt;/tt&gt; || integer value of string of digits, including the unitary plus or minus sign. The function skips leading blanks and also sets the sub variable to subscript of terminating (non-digit) byte or to &lt;tt&gt;len(str) + 1&lt;/tt&gt;<br /> |- <br /> | &lt;tt&gt;ors(str)&lt;/tt&gt; || integer value of bit pattern in first 4 (or less) bytes of the string input <br /> <br /> |- <br /> | &lt;tt&gt;len(bstr)&lt;/tt&gt; || byte length of padded bit string input <br /> |- <br /> | &lt;tt&gt;bln(bstr)&lt;/tt&gt; || bit length of bit string input <br /> <br /> |}<br /> &lt;/center&gt;<br /> <br /> <br /> == Functions with real number output ==<br /> <br /> &lt;center&gt;<br /> {| class=&quot;wikitable&quot; cellpadding=&quot;5&quot; cellspacing=&quot;0&quot; border=&quot;1&quot; style=&quot;width:650px&quot;<br /> |- {{Style|table header}}<br /> ! scope=&quot;col&quot; width=&quot;150px&quot; | Function<br /> ! scope=&quot;col&quot; width=&quot;500px&quot; | Output<br /> |- <br /> | &lt;tt&gt;flt(int)&lt;/tt&gt;|| convert integer value to real number <br /> |- <br /> | &lt;tt&gt;rnd(real)&lt;/tt&gt;|| deliver a random number between 0 and &amp;lt;input&amp;gt; <br /> |- <br /> | &lt;tt&gt;abs(real)&lt;/tt&gt;|| absolute value of &amp;lt;input&amp;gt; <br /> |- <br /> | &lt;tt&gt;dec(real)&lt;/tt&gt;|| decimal part of &amp;lt;input&amp;gt; <br /> |- <br /> | &lt;tt&gt;sin(real)&lt;/tt&gt;|| for input (x), output = sin(x) <br /> |- <br /> | &lt;tt&gt;cos(real)&lt;/tt&gt;|| for input (x), output = cos(x) <br /> |- <br /> | &lt;tt&gt;tan(real)&lt;/tt&gt;|| for input (x), output = tan(x) <br /> |- <br /> | &lt;tt&gt;ars(real)&lt;/tt&gt;|| for input (x), output = arcsin(x) <br /> |- <br /> | &lt;tt&gt;arc(real)&lt;/tt&gt;|| for input (x), output = arccos(x) <br /> |- <br /> | &lt;tt&gt;art(real)&lt;/tt&gt;|| for input (x), output = arctan(x) <br /> |- <br /> | &lt;tt&gt;exx(real)&lt;/tt&gt;|| for input (x), output = (e to the x power) <br /> |- <br /> | &lt;tt&gt;lnx(real)&lt;/tt&gt;|| for input (x), output = (log base e of x) <br /> |- <br /> | &lt;tt&gt;sqt(real)&lt;/tt&gt;|| for input (x), output = square root of x <br /> <br /> |- <br /> | &lt;tt&gt;pow(real,real)&lt;/tt&gt;|| for input (x,y), output = x to the y power (x,y &gt; 0) <br /> |- <br /> | &lt;tt&gt;flt(str)&lt;/tt&gt;|| real value of string of digits, including the unitary plus or minus sign. The function skips leading blanks and also sets the sub variable to subscript of terminating (non-digit) byte or to &lt;tt&gt;len(str) + 1&lt;/tt&gt;.<br /> |}<br /> &lt;/center&gt;<br /> <br /> <br /> == Functions with string output ==<br /> <br /> &lt;center&gt;<br /> {| class=&quot;wikitable&quot; cellpadding=&quot;5&quot; cellspacing=&quot;0&quot; border=&quot;1&quot; style=&quot;width:650px&quot;<br /> |- {{Style|table header}}<br /> ! scope=&quot;col&quot; width=&quot;150px&quot; | Function<br /> ! scope=&quot;col&quot; width=&quot;500px&quot; | Output<br /> |- <br /> | &lt;tt&gt;pad(int)&lt;/tt&gt; || add blanks to the end of the current right hand string, up to a length of &amp;lt;input&amp;gt; number. <br /> |- <br /> | &lt;tt&gt;zpd(int)&lt;/tt&gt; || add nulls (the zero byte) to the end of the current right hand string, up to a length of &amp;lt;input&amp;gt; number. <br /> |- <br /> | &lt;tt&gt;chr(int)&lt;/tt&gt; || single string character with a bit pattern that matches the lower eight bits of &amp;lt;input&amp;gt; <br /> |- <br /> | &lt;tt&gt;ch2(int)&lt;/tt&gt; || two character string with a bit pattern that matches the lower sixteen bits of &amp;lt;input&amp;gt; <br /> |- <br /> | &lt;tt&gt;ch4(int)&lt;/tt&gt; || four character string with a bit pattern that matches the &amp;lt;input&amp;gt; <br /> |- <br /> | &lt;tt&gt;oct(int)&lt;/tt&gt; || ASCII octal representation of &amp;lt;input&amp;gt; <br /> |- <br /> | &lt;tt&gt;chs(int)&lt;/tt&gt; || ASCII decimal representation of &amp;lt;input&amp;gt; including the unitary minus sign <br /> |- <br /> | &lt;tt&gt;hex(int)&lt;/tt&gt; || ASCII hexidecimal representation of &amp;lt;input&amp;gt; <br /> |- <br /> | &lt;tt&gt;ch8(real)&lt;/tt&gt; || eight character string with a bit pattern that matches the &amp;lt;input&amp;gt; <br /> |- <br /> | &lt;tt&gt;chs(real,int)&lt;/tt&gt; || ASCII decimal representation of &lt;real input&gt; with &lt;int input&gt; digits to right of decimal. Includes unitary minus sign <br /> |- <br /> | &lt;tt&gt;chx(real,int)&lt;/tt&gt; || ASCII floating point representation of &lt;real input&gt; with &lt;int input&gt; digits to right of decimal. Includes unitary minus sign <br /> <br /> |- <br /> | &lt;tt&gt;trm(str)&lt;/tt&gt; || input string without the trailing blanks<br /> |- <br /> | &lt;tt&gt;mrt(str)&lt;/tt&gt; || input string without the leading blanks <br /> |- <br /> | &lt;tt&gt;lcs(str)&lt;/tt&gt; || input string with all letters converted to lower case <br /> |- <br /> | &lt;tt&gt;ucs(str)&lt;/tt&gt; || input string with all letters converted to upper case <br /> |- <br /> | &lt;tt&gt;rev(str)&lt;/tt&gt; || string with characters in the reverse order from the input string<br /> <br /> |- <br /> | &lt;tt&gt;rpl(str,s(n,2))&lt;/tt&gt; || create an output string from the first input string in following way: Working from left to right in the input string, search the string array s(i,1) (i = 1,...,n) for a match in the input string. If a match is found (at i), place s(i,2) in the output string and advance the test point in the input string by len(s(i,1)). If no match is found, copy the current byte to the output string and advance the test point one byte. <br /> <br /> |- <br /> | &lt;tt&gt;dup(str,int)&lt;/tt&gt; || input string duplicated &lt;int input&gt; number of times <br /> <br /> |- <br /> | &lt;tt&gt;txt(s1,bs,int)&lt;/tt&gt; || output string = s1{m..n-1} where m (&gt;= int) is the subscript of first byte of the input string (at or beyond &lt;int input&gt;) which is not in the bit string set bs, and n (&gt; m) is the subscript of the first byte of the input string (beyond m) which is in the bit string set bs. &lt;int input&gt; is set to the value n by this function. Essentially, characters in the bit string set bs are used to sub-divide or parse the input string. The function is designed for repeated calls until the input string is completely parsed. <br /> <br /> The format for specifying the bit string set bs is: set(bstr) where bstr is a bit string. <br /> <br /> |- <br /> | &lt;tt&gt;txt(s1,bs)&lt;/tt&gt; || same as previous function, except the special variable mpt is used in place of the third input. <br /> <br /> |- <br /> | &lt;tt&gt;txt(s1,[ ],int)&lt;/tt&gt; || same as the first txt function, except the set [ ] is used instead of the bit string set. <br /> <br /> |- <br /> | &lt;tt&gt;txt(s1,[ ])&lt;/tt&gt; || same as the second txt function, except the set [ ] is used instead of the bit string set. <br /> <br /> |- <br /> | &lt;tt&gt;cby(bstr)&lt;/tt&gt; || create output string with the same bit pattern as the input bit string (padded to the byte boundary with zeros) <br /> <br /> |- <br /> | &lt;tt&gt;upk(bstr,s2)&lt;/tt&gt; || construct a string from the first &amp;lt;input&amp;gt; in the following way: 1 maps to s2{1} or &#039;x&#039;, 0 maps to s2{2} or &#039; &#039;. <br /> |- <br /> | &lt;tt&gt;upk(bstr)&lt;/tt&gt; || construct a string from the first &amp;lt;input&amp;gt; in the following way: 1 maps to &#039;x&#039;, 0 maps &#039; &#039;. <br /> <br /> |}<br /> &lt;/center&gt;<br /> <br /> <br /> == Functions with bit string output ==<br /> <br /> &lt;center&gt;<br /> {| class=&quot;wikitable&quot; cellpadding=&quot;5&quot; cellspacing=&quot;0&quot; border=&quot;1&quot; style=&quot;width:650px&quot;<br /> |- {{Style|table header}}<br /> ! scope=&quot;col&quot; width=&quot;150px&quot; | Function<br /> ! scope=&quot;col&quot; width=&quot;500px&quot; | Output<br /> |- <br /> | &lt;tt&gt;npd(int)&lt;/tt&gt; || add ones to the end of the current right hand bit-string, up to a length of &amp;lt;input&amp;gt; number. <br /> |- <br /> | &lt;tt&gt;zpd(int)&lt;/tt&gt; || add zeros to the end of the current right hand bit-string, up to a length of &amp;lt;input&amp;gt; number. <br /> |- <br /> | &lt;tt&gt;cbi(str)&lt;/tt&gt; || create output bit string with the same bit pattern as the input string<br /> <br /> |- <br /> | &lt;tt&gt;pak(s1,s2)&lt;/tt&gt; || construct a bit string from the first input string as follows: for each byte, if byte = s2{1} put in a one, otherwise put in a zero. <br /> |- <br /> | &lt;tt&gt;pak(str)&lt;/tt&gt; || construct a bit string from the input string as follows: for each byte, if byte = &#039;x&#039;, put in a one, otherwise put in a zero. <br /> <br /> |- <br /> | &lt;tt&gt;trm(bstr)&lt;/tt&gt; || input bit string without the trailing zeros <br /> |- <br /> | &lt;tt&gt;mrt(bstr)&lt;/tt&gt; || input bit string without the leading zeros <br /> |- <br /> | &lt;tt&gt;rev(bstr)&lt;/tt&gt; || bit string with bits in the reverse order from the input bit string <br /> |- <br /> | &lt;tt&gt;cmp(bstr)&lt;/tt&gt; || 1&#039;s complement of input bit string <br /> <br /> |- <br /> | &lt;tt&gt;dup(bstr,int)&lt;/tt&gt; || input bit string duplicated &amp;lt;int input&amp;gt; number of times <br /> <br /> |- <br /> | &lt;tt&gt;bnd(bstr,bstr)&lt;/tt&gt; || output = intersection of two inputs <br /> |- <br /> | &lt;tt&gt;bor(bstr,bstr)&lt;/tt&gt; || output = union of two inputs <br /> <br /> |}<br /> &lt;/center&gt;<br /> <br /> <br /> == Function with a set output ==<br /> <br /> &lt;center&gt;<br /> {| class=&quot;wikitable&quot; cellpadding=&quot;5&quot; cellspacing=&quot;0&quot; border=&quot;1&quot; style=&quot;width:650px&quot;<br /> |- {{Style|table header}}<br /> ! scope=&quot;col&quot; width=&quot;150px&quot; | Function<br /> ! scope=&quot;col&quot; width=&quot;500px&quot; | Output<br /> |- <br /> | &lt;tt&gt;set(bstr)&lt;/tt&gt; || create a set in the following way: Pad the input bit string with zeros up to a length of 256. For each of the 256 bits in the bit string, if the bit is a one, add the number of the position to the set; if the bit is a zero, do not add the number of the position to the set. <br /> |}<br /> &lt;/center&gt;<br /> <br /> <br /> == Overloaded output ==<br /> <br /> There are thirteen sets of ambiguous functions. In each case, there is a way for the compiler to distinguish which function is being called. <br /> <br /> &lt;center&gt;<br /> {| class=&quot;wikitable&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; border=&quot;0&quot; style=&quot;background-color:white;&quot;<br /> |- {{Style|table header}}<br /> ! <br /> ! scope=&quot;column&quot; align=&quot;left&quot; | Function<br /> ! scope=&quot;column&quot; align=&quot;left&quot; colspan=&quot;2&quot; | Output&lt;br&gt;Type<br /> |- <br /> | 1. || &lt;tt&gt;rnd(int)&lt;/tt&gt; || int || distinguished by <br /> |- <br /> | || &lt;tt&gt;rnd(real)&lt;/tt&gt; || real ||output type.<br /> <br /> |- <br /> | 2. || &lt;tt&gt;abs(int)&lt;/tt&gt; || int || distinguished by <br /> |- <br /> | || &lt;tt&gt;abs(real)&lt;/tt&gt; || real || output type.<br /> <br /> |- <br /> | 3. || &lt;tt&gt;len(str)&lt;/tt&gt; || int || distinguished by <br /> |- <br /> | || &lt;tt&gt;len(bstr)&lt;/tt&gt; || int ||input variable type. <br /> <br /> |- <br /> | 4. || &lt;tt&gt;flt(int)&lt;/tt&gt; || real || distinguished by <br /> |- <br /> | || &lt;tt&gt;flt(str)&lt;/tt&gt; || real ||input variable type. <br /> <br /> |- <br /> | 5. || &lt;tt&gt;zpd(int)&lt;/tt&gt; || str || distinguish by <br /> |- <br /> | || &lt;tt&gt;zpd(int)&lt;/tt&gt; || bstr ||output type.<br /> <br /> |- <br /> | 6. || &lt;tt&gt;chs(int)&lt;/tt&gt; || str || distinguish by number <br /> |- <br /> | || &lt;tt&gt;chs(real,int)&lt;/tt&gt;|| str ||of arguments.<br /> <br /> |- <br /> | 7. || &lt;tt&gt;trm(str)&lt;/tt&gt; || str || distinguish by <br /> <br /> |- <br /> | || &lt;tt&gt;trm(bstr)&lt;/tt&gt; || bstr ||output type.<br /> <br /> |- <br /> | 8. || &lt;tt&gt;mrt(str)&lt;/tt&gt; || str || distinguish by <br /> |- <br /> | || &lt;tt&gt;mrt(bstr)&lt;/tt&gt; || bstr ||output type.<br /> <br /> |- <br /> | 9. || &lt;tt&gt;rev(str)&lt;/tt&gt; || str || distinguish by <br /> |- <br /> | || &lt;tt&gt;rev(bstr)&lt;/tt&gt; || bstr ||output type.<br /> <br /> |- <br /> | 10.|| &lt;tt&gt;dup(str)&lt;/tt&gt; || str || distinguish by <br /> |- <br /> | || &lt;tt&gt;dup(bstr)&lt;/tt&gt; || bstr ||output type.<br /> <br /> |- <br /> | 11.|| &lt;tt&gt;txt(s1,bs,int)&lt;/tt&gt;|| str || distinguish by type <br /> |- <br /> | || &lt;tt&gt;txt(s1,bs)&lt;/tt&gt; || str ||of second argument <br /> |- <br /> | || &lt;tt&gt;txt(s1,[ ],int)&lt;/tt&gt; || str ||and by presence <br /> |- <br /> | || &lt;tt&gt;txt(s1,[ ])&lt;/tt&gt; || str ||of third argument.<br /> <br /> |- <br /> | 12.|| &lt;tt&gt;upk(bstr,s2)&lt;/tt&gt; || str || distinguish by number <br /> |- <br /> | || &lt;tt&gt;upk(bstr)&lt;/tt&gt; || str ||of arguments.<br /> <br /> |- <br /> | 13.|| &lt;tt&gt;upk(s1,s2)&lt;/tt&gt; || str || distinguish by number <br /> |- <br /> | || &lt;tt&gt;upk(str)&lt;/tt&gt; || str ||of arguments.<br /> |}<br /> &lt;/center&gt;<br /> <br /> <br /> == Function example usage ==<br /> <br /> We include some examples of how various functions work. The focus is mainly on those functions whose operation may not be clear from the description. <br /> <br /> <br /> === tst(table) ===<br /> <br /> The tst(table) function. This function reports on the number of enteries in the table, and resets the counter for the sequentail version of the tget command. To demonstrate this function, we must fill a table with some items and use the sequential version of tget to retrieve them. <br /> <br /> Program <br /> --------------------- <br /> str a.10,b.10 <br /> int i <br /> table X(1000) <br /> <br /> loop for i = 1 to 10 /* create 10 entries in table <br /> a = &quot;Key &quot; // chs(i) /* str a will contain the &quot;key&quot; <br /> tput [X,a] Item ~i <br /> repeat <br /> <br /> loop for i = 1 to 3 /* get first 3 entries <br /> tget [X] a b <br /> putc ~a ~b <br /> repeat <br /> i = tst(X) <br /> putc Number of entries = ~i <br /> loop for i = 1 to 3 /* check to see that sequential <br /> tget [X] a b /* counter has been reset <br /> putc ~a ~b <br /> repeat <br /> run <br /> <br /> Execution <br /> ------------------------------------- <br /> ** S=18, P=79, L=253, M=1418 ** <br /> Key 1 Item 1 <br /> Key 2 Item 2 <br /> Key 3 Item 3 <br /> Number of entries = 10 <br /> Key 1 Item 1 <br /> Key 2 Item 2 <br /> Key 3 Item 3 <br /> Ready for program <br /> <br /> === tdx(table,str) ===<br /> <br /> The tdx(table,str) function. This function provides the index number in a table for a given &quot;key&quot;. The number is 0 if there is no such key in the table. To demonstrate this function, we must fill a table with some key/record pairs and then use the tdx function to get their index numbers. <br /> <br /> Program <br /> --------------------- <br /> str a.10,b.10 <br /> int i,j <br /> table X(1000) <br /> <br /> loop for i = 1 to 10 /* create 10 entries in table <br /> a = &quot;Key &quot; // chs(i) /* str a will contain the &quot;key&quot; <br /> tput [X,a] Item ~i <br /> repeat <br /> <br /> loop for i = 1 to 3 /* get index for first 3 entries <br /> a = &quot;Key &quot; // chs(i) <br /> j = tdx(X,a) <br /> putc key = ~a index = .w4 ~j ... <br /> tget [X,j] b /* retrieve record via index <br /> putc record = ~b <br /> repeat <br /> run <br /> <br /> Execution <br /> ------------------------------------- <br /> ** S=15, P=75, L=255, M=1418 ** <br /> key = Key 1 index = 313 record = Item 1 <br /> key = Key 2 index = 58 record = Item 2 <br /> key = Key 3 index = 187 record = Item 3 <br /> Ready for program <br /> <br /> === fix(real) ===<br /> <br /> The fix(real) function. The reason we need this function is that Zbex does not automatically convert real numbers to integers. <br /> <br /> <br /> Program <br /> --------------------- <br /> int i <br /> real x <br /> <br /> x = 456.789 <br /> i = fix(x) <br /> putc real input = ~x integer output = ~i <br /> run <br /> <br /> Execution <br /> ------------------------------------- <br /> ** S=6, P=28, L=236, M=410 ** <br /> real input = 456.79 integer output = 456 <br /> Ready for program <br /> <br /> === len(str) ===<br /> <br /> The len(str) function. When used on the right hand side of an assignment statement, this function gives the length of the string argument. What makes this function unusual is that it can also be used on the left hand side of an assignment statement to set the length of a string. This is particularly valuable when we use a string as a buffer for the read instruction, since the size of the block read = the length of the string. <br /> <br /> Program <br /> --------------------- <br /> str a.80 <br /> int i <br /> <br /> a = &quot;For the last time, Mr. Smee, take the princess home!&quot; <br /> i = len(a) <br /> putc Length of string a is ~i <br /> len(a) = 28 <br /> i = len(a) <br /> putc New length of string a is ~i <br /> putc String a = &quot;~a &quot; <br /> run <br /> <br /> Execution <br /> ------------------------------------- <br /> ** S=10, P=59, L=255, M=431 ** <br /> Length of string a is 52 <br /> New length of string a is 28 <br /> String a = &quot;For the last time, Mr. Smee,&quot; <br /> Ready for program <br /> <br /> === int(str) ===<br /> <br /> The int(str) function. This function reads a group of digits in a string and returns their value as an integer. The setting of the special variable sub to the subscript of the the terminating (non-digit) byte in the string allows this function to be called again to get the next number in the string. <br /> <br /> Program <br /> --------------------- <br /> str a.80 <br /> int i <br /> <br /> a = &quot;1000 500 -39 465 678687&quot; <br /> putc Getting numbers from a string <br /> putc a = &quot;~a &quot; <br /> putc Numbers <br /> putc ------- <br /> sub = 0 <br /> loop while sub &amp;lt; len(a) <br /> i = int(a{sub+1..}) <br /> putc .w7 ~i .w2t20 (terminating subscript = ~sub ) <br /> repeat <br /> run <br /> <br /> Execution <br /> ------------------------------------- <br /> ** S=13, P=72, L=248, M=431 ** <br /> Getting numbers from a string <br /> a = &quot;1000 500 -39 465 678687&quot; <br /> Numbers <br /> ------- <br /> 1000 (terminating subscript = 5) <br /> 500 (terminating subscript = 10) <br /> -39 (terminating subscript = 19) <br /> 465 (terminating subscript = 25) <br /> 678687 (terminating subscript = 32) <br /> Ready for program <br /> <br /> === ors(str) ===<br /> <br /> The ors(str) function. This function reads the first four bytes of the string argument (less if the string is shorter) and creates an integer value from the bit pattern. <br /> <br /> Program <br /> --------------------- <br /> str a.4 <br /> int i <br /> <br /> a = &quot;.&quot; <br /> i = ors(a) <br /> putc a = &quot;~a &quot; .t13 i = ~i .t30x (hex ~i ) <br /> a = &quot;.1&quot; <br /> i = ors(a) <br /> putc a = &quot;~a &quot; .t13 i = ~i .t30x (hex ~i ) <br /> a = &quot;.123&quot; <br /> i = ors(a) <br /> putc a = &quot;~a &quot; .t13 i = ~i .t30x (hex ~i ) <br /> run <br /> <br /> Execution <br /> ------------------------------------- <br /> ** S=12, P=95, L=249, M=412 ** <br /> a = &quot;.&quot; i = 46 (hex 2e) <br /> a = &quot;.1&quot; i = 11825 (hex 2e31) <br /> a = &quot;.123&quot; i = 774976051 (hex 2e313233) <br /> Ready for program <br /> <br /> <br /> === pad(int) ===<br /> <br /> The pad(int) function. This function adds blanks to the end of the string on the right hand side of an assignment statement up to the length specified by the integer argument. If the string is already longer than the specified length, nothing is done. <br /> <br /> Program <br /> --------------------- <br /> str a.80,b.80 <br /> int i <br /> <br /> a = &quot;This is a short string&quot; <br /> b = &quot;This is a slightly longgggerrrrrr string&quot; <br /> putc a = &quot;~a &quot; <br /> a = a // pad(30) <br /> putc a = &quot;~a &quot; <br /> putc b = &quot;~b &quot; <br /> b = b // pad(30) <br /> putc b = &quot;~b &quot; <br /> run <br /> <br /> Execution <br /> ------------------------------------- <br /> ** S=11, P=54, L=262, M=452 ** <br /> a = &quot;This is a short string&quot; <br /> a = &quot;This is a short string &quot; <br /> b = &quot;This is a slightly longgggerrrrrr string&quot; <br /> b = &quot;This is a slightly longgggerrrrrr string&quot; <br /> Ready for program <br /> <br /> === ch4(int) ===<br /> <br /> The ch4(int) function. This function is the opposite of the ors function. It creates a four byte string from the bit pattern of the integer argument. <br /> <br /> Program <br /> --------------------- <br /> str a.4 <br /> int i <br /> <br /> i = 0x31323334 /* this is hexidecimal notation <br /> a = ch4(i) <br /> putc a = &quot;~a &quot; <br /> run <br /> <br /> Execution <br /> ------------------------------------- <br /> ** S=6, P=19, L=237, M=412 ** <br /> a = &quot;1234&quot; <br /> Ready for program <br /> <br /> === chs(int) ===<br /> <br /> The chs(int) function. This function constructs a string which is the ASCII decimal representation of the integer argument. We illustrate also the hex(int) function here. <br /> <br /> Program <br /> --------------------- <br /> str a.80,b.80 <br /> int i <br /> <br /> a = &quot;&quot; <br /> b = &quot;&quot; <br /> loop for i = 500 to -300 step -100 <br /> a = a // chs(i) // &quot; &quot; <br /> b = b // hex(i) // &quot; &quot; <br /> repeat <br /> putc a = &quot;~a &quot; <br /> putc b = &quot;~b &quot; <br /> run <br /> <br /> Execution <br /> ------------------------------------- <br /> ** S=11, P=55, L=247, M=452 ** <br /> a = &quot;500 400 300 200 100 0 -100 -200 -300 &quot; <br /> b = &quot;1f4 190 12c c8 64 0 ffffff9c ffffff38 fffffed4 &quot; <br /> Ready for program <br /> <br /> === rpl(str,s(n,2)) ===<br /> <br /> The rpl(str,s(n,2)) function. This somewhat unwieldy function is intended to facilitate the translation of certain string patterns into alternate string patterns for large blocks of text at a time. rpl is short for replace. The second argument is an array of patterns and their replacements. <br /> <br /> Program <br /> --------------------- <br /> str a.500, b.500, c.10(1,2) <br /> <br /> /* set up initial string for testing <br /> <br /> a = &quot;The purpose of this function is to facilitateCRthe&quot; <br /> a = a // &quot; translation of certain string patterns intoCRother&quot; <br /> a = a // &quot; string patterns. In this example, we willCRchange&quot; <br /> a = a // &quot; a code for carriage return into the escapeCR&quot; <br /> a = a // &quot;sequences which will generate real carriageCR&quot; <br /> a = a // &quot;returns.CR&quot; <br /> <br /> /* set up conversion matrix <br /> <br /> c(1,1) = &quot;CR&quot; <br /> c(1,2) = chr(27) // &quot;S&quot; // chr(27) // &quot;Y&quot; <br /> <br /> /* do the translation <br /> <br /> b = rpl(a,c) <br /> <br /> /* display results <br /> <br /> putc ~b <br /> run <br /> <br /> Execution <br /> ------------------------------------- <br /> The purpose of this function is to facilitate <br /> the translation of certain string patterns into <br /> other string patterns. In this example, we will <br /> change a code for carriage return into the escape <br /> sequences which will generate real carriage <br /> returns. <br /> <br /> Ready for program <br /> <br /> <br /> === txt(st1,bs,int) ===<br /> <br /> The txt(s1,bs,int) function. This is the most complicated of the four forms of the txt function. The purpose of this function is to allow the rapid parsing of strings, based on a set of bytes one might call &quot;delimiter bytes.&quot; In this version of the function, the set is determined by a bit string. <br /> <br /> Program <br /> --------------------- <br /> str a.100, b.100 <br /> bstr pset.256 <br /> int i <br /> <br /> a = &quot;Let us, please, ignor (i.e., disregard) all&quot; <br /> a = a // &quot; non-alpha characters in our parse!! O.K.?&quot; <br /> <br /> pset = npd(65) // zpd(91) // npd(97) // zpd(123) // npd(256) <br /> <br /> i = 0 <br /> loop while i &amp;lt; len(a) <br /> b = txt(a, set(pset), i) <br /> b = txt(a, [0..64,91..96,122..255], i) will also work <br /> if b &amp;lt;&amp;gt; &quot;&quot; <br /> putc ~b <br /> end <br /> repeat <br /> run <br /> <br /> Execution <br /> ------------------------------------- <br /> ** S=14, P=52, L=283, M=471 ** <br /> Let <br /> us <br /> please <br /> ignor <br /> i <br /> e <br /> disregard <br /> all <br /> non <br /> alpha <br /> characters <br /> in <br /> our <br /> parse <br /> O <br /> K <br /> Ready for program <br /> <br /> === upk(bstr,s2) ===<br /> <br /> The upk(bstr,s2) function. This function creates a string with two types of characters. The pattern matches that of the bit string argument. <br /> <br /> Program <br /> --------------------- <br /> str a.50,b.2 <br /> bstr pattern.50(10) <br /> int i <br /> <br /> b = &quot;&amp;#9618;&amp;#9608;&quot; <br /> <br /> pattern(1) = &quot;0001111111000&quot; <br /> pattern(2) = &quot;0111111111110&quot; <br /> pattern(3) = &quot;1110000000111&quot; <br /> pattern(4) = &quot;1100110110011&quot; <br /> pattern(5) = &quot;1100001000011&quot; <br /> pattern(6) = &quot;1100100010011&quot; <br /> pattern(7) = &quot;0110011100110&quot; <br /> pattern(8) = &quot;0111000001110&quot; <br /> pattern(9) = &quot;0001111111000&quot; <br /> <br /> loop for i = 1 to 9 <br /> a = upk(pattern(i), b) <br /> putc ~a <br /> repeat <br /> run <br /> <br /> Execution <br /> &amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552;&amp;#9552; <br /> ** S=18, P=90, L=267, M=456 ** <br /> &lt;span style=&quot;color:black; background-color:#00ff00&quot;&gt;&amp;#9608;&amp;#9608;&amp;#9608;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9608;&amp;#9608;&amp;#9608;&lt;/span&gt; <br /> &lt;span style=&quot;color:black; background-color:#00ff00&quot;&gt;&amp;#9608;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9608;&lt;/span&gt; <br /> &lt;span style=&quot;color:black; background-color:#00ff00&quot;&gt;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9608;&amp;#9608;&amp;#9608;&amp;#9608;&amp;#9608;&amp;#9608;&amp;#9608;&amp;#9618;&amp;#9618;&amp;#9618;&lt;/span&gt; <br /> &lt;span style=&quot;color:black; background-color:#00ff00&quot;&gt;&amp;#9618;&amp;#9618;&amp;#9608;&amp;#9608;&amp;#9618;&amp;#9618;&amp;#9608;&amp;#9618;&amp;#9618;&amp;#9608;&amp;#9608;&amp;#9618;&amp;#9618;&lt;/span&gt; <br /> &lt;span style=&quot;color:black; background-color:#00ff00&quot;&gt;&amp;#9618;&amp;#9618;&amp;#9608;&amp;#9608;&amp;#9608;&amp;#9608;&amp;#9618;&amp;#9608;&amp;#9608;&amp;#9608;&amp;#9608;&amp;#9618;&amp;#9618;&lt;/span&gt; <br /> &lt;span style=&quot;color:black; background-color:#00ff00&quot;&gt;&amp;#9618;&amp;#9618;&amp;#9608;&amp;#9608;&amp;#9618;&amp;#9608;&amp;#9608;&amp;#9608;&amp;#9618;&amp;#9608;&amp;#9608;&amp;#9618;&amp;#9618;&lt;/span&gt; <br /> &lt;span style=&quot;color:black; background-color:#00ff00&quot;&gt;&amp;#9608;&amp;#9618;&amp;#9618;&amp;#9608;&amp;#9608;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9608;&amp;#9608;&amp;#9618;&amp;#9618;&amp;#9608;&lt;/span&gt; <br /> &lt;span style=&quot;color:black; background-color:#00ff00&quot;&gt;&amp;#9608;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9608;&amp;#9608;&amp;#9608;&amp;#9608;&amp;#9608;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9608;&lt;/span&gt; <br /> &lt;span style=&quot;color:black; background-color:#00ff00&quot;&gt;&amp;#9608;&amp;#9608;&amp;#9608;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9618;&amp;#9608;&amp;#9608;&amp;#9608;&lt;/span&gt; <br /> Ready for program</div> Craig