Namespace: OpenEdge.Web.DataObject.Writer
Class
LogicalValueWriter
Parent classes:
Inherits: OpenEdge.Web.DataObject.Writer.ArgumentValueWriter

/* *************************************************************************************************************************
Copyright (c) 2016 by Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.
File:LogicalValueWriter
Purpose:Writes values to a ILogicalHolder
Author(s):pjudge
Created:2016-06-08




Method Summary
Options Name Purpose
Write (character) /* If expression is of type LONGCHAR or CHARACTER, it returns TRUE or FALSE depending on the value in the expression and the format used. Whether or not char-expression-format is given, the case-insensitive values TRUE, FALSE, YES, NO, abbreviated to 1 character, are always accepted. For example, a "Y" is interpreted as TRUE. */
Write (datetime-tz) /* Writes a datetime-tz value to logical If expression is of type DECIMAL, INTEGER, INT64, DATE, DATETIME, DATTIME-TZ, or HANDLE, the function returns TRUE if the value of expression is nonzero. If the value of expression is 0, it returns FALSE. The second argument is ignored if present. */
Write (decimal) /* Writes a decimal value to logical If expression is of type DECIMAL, INTEGER, INT64, DATE, DATETIME, DATTIME-TZ, or HANDLE, the function returns TRUE if the value of expression is nonzero. If the value of expression is 0, it returns FALSE. The second argument is ignored if present. */
Write (handle) /* Writes a handle value to logical If expression is of type DECIMAL, INTEGER, INT64, DATE, DATETIME, DATTIME-TZ, or HANDLE, the function returns TRUE if the value of expression is nonzero. If the value of expression is 0, it returns FALSE. The second argument is ignored if present. */
Write (int64) /* Writes an int64 value to logical If expression is of type DECIMAL, INTEGER, INT64, DATE, DATETIME, DATTIME-TZ, or HANDLE, the function returns TRUE if the value of expression is nonzero. If the value of expression is 0, it returns FALSE. The second argument is ignored if present. */
Write (logical)
Write (longchar) /* Writes a longchar as a logical. If expression is of type LONGCHAR or CHARACTER, it returns TRUE or FALSE depending on the value in the expression and the format used. Whether or not char-expression-format is given, the case-insensitive values TRUE, FALSE, YES, NO, abbreviated to 1 character, are always accepted. For example, a "Y" is interpreted as TRUE. */
Write (Object)

Constructor Summary
Options Name Purpose
LogicalValueWriter ()


Method Detail
Top

Write (character)

/* If expression is of type LONGCHAR or CHARACTER, it returns TRUE or FALSE depending on the
value in the expression and the format used. Whether or not char-expression-format is given,
the case-insensitive values TRUE, FALSE, YES, NO, abbreviated to 1 character, are always
accepted. For example, a "Y" is interpreted as TRUE.
Parameters:
pData CHARACTER
Top

Write (datetime-tz)

/* Writes a datetime-tz value to logical
If expression is of type DECIMAL, INTEGER, INT64, DATE, DATETIME, DATTIME-TZ, or HANDLE,
the function returns TRUE if the value of expression is nonzero. If the value of expression
is 0, it returns FALSE. The second argument is ignored if present.
Parameters:
pData DATETIME-TZ
Top

Write (decimal)

/* Writes a decimal value to logical
If expression is of type DECIMAL, INTEGER, INT64, DATE, DATETIME, DATTIME-TZ, or HANDLE,
the function returns TRUE if the value of expression is nonzero. If the value of expression
is 0, it returns FALSE. The second argument is ignored if present.
Parameters:
pData DECIMAL
Top

Write (handle)

/* Writes a handle value to logical
If expression is of type DECIMAL, INTEGER, INT64, DATE, DATETIME, DATTIME-TZ, or HANDLE,
the function returns TRUE if the value of expression is nonzero. If the value of expression
is 0, it returns FALSE. The second argument is ignored if present.
Parameters:
pData HANDLE
Top

Write (int64)

/* Writes an int64 value to logical
If expression is of type DECIMAL, INTEGER, INT64, DATE, DATETIME, DATTIME-TZ, or HANDLE,
the function returns TRUE if the value of expression is nonzero. If the value of expression
is 0, it returns FALSE. The second argument is ignored if present.
Parameters:
pData INT64
Top

Write (logical)

Parameters:
pData LOGICAL
Top

Write (longchar)

/* Writes a longchar as a logical.
If expression is of type LONGCHAR or CHARACTER, it returns TRUE or FALSE depending on the
value in the expression and the format used. Whether or not char-expression-format is given,
the case-insensitive values TRUE, FALSE, YES, NO, abbreviated to 1 character, are always
accepted. For example, a "Y" is interpreted as TRUE.
Parameters:
pData LONGCHAR
Top

Write (Object)

Parameters:
pData Progress.Lang.Object


Constructor Detail
Top

LogicalValueWriter ()



Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15