Example ByteVector new 015

 

 

Description

These examples show how to construct a typed Vector. A Pcode Vector is constructed using the new function.

 

Details

Constructs a Byte Vector with preallocated 1000 Bytes.

(setq test (new Vector: Byte: 1000)) Returns: ---
(appendWriteln test "This is a Byte Vector.") Returns: This is a Byte Vector.

 

Related Examples

Here are examples of the new function at work.

BitVector new 013 Brick new 015 ByteVector new 015 CpxVector new 015
Dictionary new 004 Directory new 005 Directory new 006 FltVector new 009
IntVector new 010 Lambda new 001 Lambda new 002 Lambda new 003
Matrix new 009 Matrix new 010 NumMatrix new 015 NumVector new 011
ObjVector new 012 ObjectRepository new 014 PcodeVector new 014 ShortVector new 011
String new 001 Structure new 003 Symbol new 002 Vector new 007
Vector new 008

 

Function Links

Here is the link to the current function used in this example.

new

Here are a number of links to other related functions.

setq(#void) define(#void)

 

Argument Types

Here are the links to the data types of the arguments used in this example.

PcodeVector

Here are a number of links to examples having similar argument types.

ByteVector new 015 PcodeVector copy 010 PcodeVector isAtom 009 PcodeVector isIdentical 016
PcodeVector isObject 011 PcodeVector isPcodeVector 001 PcodeVector length 012 PcodeVector methodsOf 020
PcodeVector new 014 PcodeVector ref 026 PcodeVector setq 023 PcodeVector sizeof 018
PcodeVector type 020

Analytic Information Server (AIS)

AIS Component Systems

  • Smartbase Engine
  • QT C++ Libraries
  • MySQL Relational Database
  • AIS Lisp Libraries
  • Rapid Analytic Demo IDE