|
Example Brick new 015
|
Description
The first example shows the new function create a Brick with specified number of
rows and fields. The second example shows the new function create a new instance of the
brick object by making a copy of the original Brick.
Details
Create a new Brick, named Contestant, and give it ten rows each containing two fields.
The second field repeats 20 times (in each row).
(setq Contestant (new Brick: 10 Name:Object:1 Score:Number:20))
|
Returns: #<Record 123456>
|
Create a new Brick, named Employee, and give it one row containing two fields.
(setq Employee (new Brick: Name:Character:40 Salary:Number:1))
|
Returns: #<Record 234567>
|
Create a new Brick, which is a copy of the Employee brick.
(setq Manager (new Brick: Employee)) |
Returns: #<Record 345678>
|
Related Examples
Here are examples of the new function at work.
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.
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.
|
Analytic Information Server (AIS)
AIS Component Systems
- Smartbase Engine
- QT C++ Libraries
- MySQL Relational Database
- AIS Lisp Libraries
- Rapid Analytic Demo IDE
|