Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: String Functions Up: Predefined Functions and Variables Previous: Manipulating Vectors and Arrays


Value Creators

This section includes a couple of predefined functions which, in some sense, create new values.

time()
returns the system time in seconds since 00:00 Universal Coordinated Time, January 1, 1970. The value returned is of type double.

random()
returns a random integer.

random(n)
returns n random integers.

random(start,stop)
returns a random integer which is greater than or equal to start and less than or equal to stop.


next up previous contents index
Next: String Functions Up: Predefined Functions and Variables Previous: Manipulating Vectors and Arrays   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15