Example ByteVector new 015




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



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 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.


Here are a number of links to other related functions.

setq(ByteVector) define(ByteVector)


Argument Types

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


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

How do I contact the AIS Server team?

You can always talk with the AIS at aiserver.sourceforge.net.