Variables

The following statements and functions are for working with variables. You can use these functions to declare or define variables, convert variables from one type to another, or determine the variable type.

CCur Function

Converts a string expression or numeric expression to a currency expression. The locale settings are used for decimal separators and currency symbols.

CBool Function

Converts an expression or a set of expressions into a boolean. An expression is composed of strings, numbers and operators. Comparison, logical or mathematical operators are allowed inside expressions.

CDate Function

किसी भी स्ट्रिंग या न्यूमेरिक एक्सप्रेशन को तारीख़ मूल्य में बदलता है.

CDec Function

Converts a string expression or numeric expression to a decimal expression.

CDbl Function

किसी भी स्ट्रिंग या न्यूमेरिक एक्सप्रेशन को डबल टाइप में बदलता है.

CInt Function

किसी भी स्ट्रिंग या न्यूमेरिक एक्सप्रेशन को पूर्णांक में बदलता है.

CLng Function

किसी भी स्ट्रिंग या न्यूमेरिक एक्सप्रेशन को लंबे पूर्णांक में बदलता है.

Const Statement

Defines one or more identifiers as constants.

CSng Function

किसी भी स्ट्रिंग या न्यूमेरिक एक्सप्रेशन को तारीख़ मूल्य में बदलता है.

CStr Function

किसी भी न्यूमेरिक एक्सप्रेशन को स्ट्रिंग एक्सप्रेशन में बदलता है.

CVar Function

Converts a string expression or numeric expression to a variant expression.

CVErr Function

Converts a string expression or numeric expression to a variant expression of the sub type "Error".

DefBool Statement

If no type-declaration character or keyword is specified, the DefBool statement sets the default data type for variables, according to a letter range.

DefCur Statement

If no type-declaration character or keyword is specified, the DefCur statement sets the default variable type, according to a letter range.

DefDate Statement

If no type-declaration character or keyword is specified, the DefDate statement sets the default variable type, according to a letter range.

DefDbl Statement

Sets the default variable type, according to a letter range, if no type-declaration character or keyword is specified.

DefErr Statement

If no type-declaration character or keyword is specified, the DefErr statement sets the default variable type, according to a letter range.

DefInt Statement

Sets the default variable type, according to a letter range, if no type-declaration character or keyword is specified.

DefLng Statement

Sets the default variable type, according to a letter range, if no type-declaration character or keyword is specified.

DefObj Statement

Sets the default variable type, according to a letter range, if no type-declaration character or keyword is specified.

DefSng Statement

If no type-declaration character or keyword is specified, the DefSng statement sets the default variable type, according to a letter range.

DefStr Statement

If no type-declaration character or keyword is specified, the DefStr statement sets the default variable type, according to a letter range.

DefVar Statement

Sets the default variable type, according to a letter range, if no type-declaration character or keyword is specified.

Dim Statement

Declares variables or arrays.

ReDim Statement

Declares or redefines variables or arrays.

Type Statement

Define non-UNO data structures.

IsArray Function

निर्धारित करता है कि यदि कोई वेरिएबल, ऐरे में डाटा क्षेत्र है

IsDate Function

Tests if a numeric or string expression can be converted to a Date variable.

IsEmpty Function

Tests if a Variant variable contains the Empty value. The Empty value indicates that the variable is not initialized.

IsError Function

Tests if a variable contains an error value.

IsNull Function

Tests if a Variant contains the special Null value, indicating that the variable does not contain data.

IsNumeric Function

Tests if an expression is a number. If the expression is a number, the function returns True, otherwise the function returns False.

IsObject Function

Tests if a variable is an object, as opposed to primitive data types such as dates, numbers, texts. The function returns True if the variable is an object, otherwise it returns False.

LBound Function

एरे की निचली सीमा बताता है.

UBound Function

एरे की ऊपरी सीमा प्रस्तुत करता है.

Let Statement

वेरिएबल के लिए मूल्य आबंटित करता है.

Array Function

डाटा क्षेत्र के साथ टाइप वेरिएण्ट प्रस्तुत करता है.

DimArray Function

वेरिएण्ट ऐरे प्रस्तुत करता है.

Erase Statement

Erases the contents of array elements of fixed size arrays, and releases the memory used by arrays of variable size.

Option Base Statement

ऐरे के लिए डिफ़ॉल्ट लोअर बाउंड्री 0 या 1 निर्धारित करता है.

Option Explicit Statement

Specifies that every variable in the program code must be explicitly declared with the Dim statement.

Public Statement

Dimensions a variable or an array at the module level (that is, not within a subroutine or function), so that the variable and the array are valid in all libraries and modules.

Global keyword

Dimensions a variable or an array at the global level (that is, not within a subroutine or function), so that the variable and the array are valid in all libraries and modules for the current session.

Static Statement

Declares a variable or an array at the procedure level within a subroutine or a function, so that the values of the variable or the array are retained after exiting the subroutine or function. Dim statement conventions are also valid.

TypeName Function; VarType Function

Returns text or a numeric value that contain type information for a variable.

Set Statement

Sets an object reference on a variable.

FindObject Function

Enables an object to be addressed at run-time as a string parameter through the object name.

FindPropertyObject Function

Enables objects to be addressed at run-time as a string parameter using the object name.

Optional (in Function Statement)

Allows you to define parameters that are passed to a function as optional.

IsMissing Function

जाँचता है कि यदि फंक्शन किसी वैकल्पिक पैरामीटर के साथ काल होता है.

HasUnoInterfaces Function

जाँचता है कि कोई बेसिक यूएनओ वस्तु कुछ विशिष्ट यूएनओ इंटरफ़ेस को समर्थित करते हैं.

EqualUnoObjects Function

Returns True if the two specified Basic variables represent the same Uno object instance.

IsUnoStruct Function

यदि दी गई वस्तु Uno struct है तो सही प्राप्त होता है

Please support us!