BLBFILE |
Blbfile is used to declare the variables of the type Blob.
[ Local | Global | Extern ] Blbfile list_var_dim
|
Element |
Description |
Restrictions |
|
list_var_dim |
List of var_dim separated by the character ','. |
None. |
|
var_dim |
Name of a variable expressed in one of the following forms : |
None. |
|
name |
variable_name. |
None |
|
maxlen |
Maximum admissible name for the clob file |
Integer expression |
|
lis_dim |
List of exp_dim separated by the character ','. |
Number limited to 4. |
|
exp_dim |
Integer expression representing the number of elements in the variable |
|
# Declaration of a blob variable with default length
Local Blbfile WWCLOB( 3 )
# Declaration of a blob variable with length 3 ( maximum 4094 characters)
Local Blbfile WWCLOB( 3 )
# Declaration of a grid with 2 blobs of a length 3
Local Blbfile WWCLOB( 3 ) ( 2 )
# Declaration of a grid with 2 blobs of a length 3
Local Blbfile WWCLOB( 3 ) (0..1)
Blbfile is used to declare variables of the type Blob by assigning to them a maximum length. The blob type is used to store the images.
In the case where the number of characters in the string is not given, the blob is created with a maximum length of 0.
It is necessary to specify a maximum length of the blob according to the following :
|
Length |
memory size |
Maximum characters |
|
0 |
1020 |
510 |
|
1 |
2044 |
1022 |
|
2 |
4092 |
2046 |
|
3 |
8188 |
4094 |
|
n |
1024*(2^n) -4 |
512*(2^n) -2 |
It is possible to declare a blob type grid, but in this case, keep an eye on the memory !
|
Error |
Description |
|
|
|
SHORTINT - DECIMAL - CHAR - DATE - LIBELLE - CLBFILE -GLOBAL - LOCAL - EXTERN
|
|