Webfocus define null




















If parentheses are not used, the operators are evaluated in the following order:. The following uses an IF command to compare variable values. You might also use an IF command to issue another Maintain Data command.

This example executes a set of code depending on the value of Department. IF commands can be nested as deeply as needed, allowing only for memory constraints. The following shows an IF command nested two levels. If you are creating an object, you can specify a class.

You must specify a data type when you create a new variable. You can only specify the data type of a variable once, and you cannot redefine the data type of an existing variable. Specifies a default century that will be used to interpret any dates with unspecified centuries in expressions assigned to this variable. If this is not specified, it defaults to Specifying DFC cc is optional if the data type is a built-in format.

It is not specified if the data type is a class, as it is relevant only for scalar variables. Specifies a default threshold year for applying the default century identified in DFC cc. When the year of the date being evaluated is less than the threshold year, the century of the date being evaluated defaults to the century defined in DFC cc plus one. When the year is equal to or greater than the threshold year, the century of the date being evaluated defaults to the century defined in DFC cc.

Specifying YRT yy is optional if the data type is a built-in format. Is used to allow or disallow null values. For example, a property may be the color of the object. That property has the name color. Its value is a color. For information about specifying colors, see Colors and Gradients.

A value can be a number, a string, a boolean value true or false , a null value, an object, or an array. String values must be enclosed in single quotation marks '. For example:. Each property is separated from the next property by a comma ,.



0コメント

  • 1000 / 1000