Example Date ref 020

 

 

Description

This examples show how the Date value is returned using the ref function and using the shorthand method.

 

Details

(setq x #Jan,3,1954) Returns: #Jan,3,1954
(ref x) Returns: #Jan,3,1954

The shorthand form of getting the value of a variable is simply the variable name itself:

x Returns: #Jan,3,1954

 

Related Examples

Here are examples of the ref function at work.

BitVector ref 027 Boolean ref 018 Brick ref 036 Date ref 020
Dictionary ref 007 Dictionary ref 008 Dictionary ref 009 Directory ref 010
Directory ref 011 Directory ref 012 FltVector ref 022 Function ref 021
IntVector ref 023 Lambda ref 017 List ref 028 Matrix ref 015
Matrix ref 016 NumMatrix ref 035 NumVector ref 024 Number ref 019
ObjVector ref 025 ObjectRepository ref 030 ObjectRepository ref 031 ObjectRepository ref 032
ObjectRepository ref 033 ObjectRepository ref 034 PcodeVector ref 026 ShortVector ref 024
String ref 001 String ref 002 Structure ref 004 Structure ref 006
Symbol ref 003 Vector ref 013 Vector ref 014 Void ref 017

 

Function Links

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

ref

Here are a number of links to other related functions.

setq(#void)

 

Argument Types

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

Date

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

Date addMethod 015 Date addMethod 016 Date compare 012 Date compareEQ 012
Date compareGE 012 Date compareGT 012 Date compareLE 012 Date compareLT 012
Date compareNE 012 Date comparison functions 011 Date day 001 Date days360 001
Date getTickCount 001 Date hour 001 Date isDate 001 Date isEqual 010
Date isEqual 011 Date isIdentical 010 Date julian 001 Date minute 001
Date month 001 Date now 001 Date ref 020 Date second 001
Date time 001 Date time 002 Date today 001 Date type 014
Date year 001 Function ref 021 String parse 001

Analytic Information Server (AIS)

AIS Component Systems

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