Example ShortVector type 018

 

 

Description

This example shows how the type function return the user-defined data type of the AIS Objects evaluated.

 

Details

Define a Short Vector and check the type.

(setq X (new Vector: short: 2 11 12)) Returns: #<ShortVector 123456>
(type X) Returns: ShortVector

 

Related Examples

Here are examples of the type function at work.

BitVector type 021 Boolean type 011 Brick type 026 ByteVector type 022
Character type 012 Date type 014 Dictionary type 007 Directory type 008
FltVector type 016 Function type 015 IntVector type 017 Lambda type 011
Matrix type 010 NumMatrix type 025 NumVector type 018 Number type 013
ObjVector type 019 ObjectRepository type 024 Pair type 023 PcodeVector type 020
ShortVector type 018 String type 001 Structure type 003 Structure type 004
Structure type 005 Symbol type 002 Vector type 009 Void type 011

 

Function Links

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

type

Here are a number of links to other related functions.

isType(#void) isIntegerVector(#void) isFloatVector(#void) isNumberVector(#void)
isByteVector(#void) isIdentical(#void) isObjectVector(#void) isPcodeVector(#void)
isVector(#void) isBitVector(#void)

 

Argument Types

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

ShortVector

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

ShortVector addMethod 021 ShortVector append 008 ShortVector apply 007 ShortVector binaryInsert 006
ShortVector binarySearch 007 ShortVector cdr 008 ShortVector compare 016 ShortVector compareEQ 015
ShortVector compareGE 015 ShortVector compareGT 015 ShortVector compareLE 015 ShortVector compareLT 015
ShortVector compareNE 015 ShortVector comparison functions 015 ShortVector copy 008 ShortVector defmethod 019
ShortVector delete 011 ShortVector insert 007 ShortVector inside 006 ShortVector isAtom 007
ShortVector isEqual 015 ShortVector isIdentical 014 ShortVector isObject 009 ShortVector length 010
ShortVector map 007 ShortVector mapc 007 ShortVector member 006 ShortVector methodsOf 019
ShortVector new 011 ShortVector ref 024 ShortVector remove 006 ShortVector resize 008
ShortVector reverse 005 ShortVector send 017 ShortVector setCdr 008 ShortVector setq 021
ShortVector sizeof 016 ShortVector sort 015 ShortVector type 018 ShortVector uniqueInsert 007
ShortVector vectorFill 005

Analytic Information Server (AIS)

AIS Component Systems

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