set Command

Description

Lets the user assign a value to an input property.

Command Syntax

set <obj>.<property>[.<subprop>.[...]] = <value>

Example

This sample session shows how to start, run, and end an object that computes the area of a rectangle.
>start Block b
Object b started. 
>set b.height = 4
value set for <b.height> 
>set b.width = 3 
value set for <b.width> 
>set b.depth = 5 
value set for <b.depth> 
>x b 
b completed. 
>get b.volume 
60.0 
>end b 
Object b completed. 

See also Analysis Server | Analysis Server Commands