PUT_MEMO
|
Syntax: |
PUT_MEMO(<Data Item>,<Memo Text>)
|
||||
|
|
|
||||
|
Meaning: |
Writes the memo text of a Dbase file field. <Data Item> must be an alphanumeric
field. PUT_MEMO writes <Memotext>
into the file <Index File Name>.dbt and writes the record number from
the file <Index File Name>.dbt into <Data Item>. PUT-MEMO returns the result –1 in the case of
an error, otherwise 0. In the case of an error the variables OK and OK2 contains the error numbers and ERRORTEXT$ contains the error text. |
||||
|
Parameter: |
|
||||
|
Sample: |
H% = PUTMEMO(REMARK.TEXT$,"Hello
World") IF H% <> 0 THEN ERRORMES
= "Error PUT_MEMO: " + ERRORTEXT$
+ STR$(OK)
+ STR$(OK2) ELSE WRITE
REMARK ON ERROR ... END ENDIF |
||||
|
See also: |
|