getopenmode_get_the_file_s_open_mode_.htm
Navigation: ABC Library Reference > FileManager > FileManager Methods >====== GetOpenMode (get the file's open mode) ====== | |
GetOpenMode( )
GetOpenMode | Retrieves the open mode of the current filename. |
The GetOpenMode method is used to retrieve the current file's access mode.
Implementation:
GetOpenMode retrieves the value of the PROTECTED OpenMode property. It can be useful for detecting a file's default open mode set by the templates, and resetting it at runtime via the SetOpenMode method.
Return Value: BYTE
Example:
IF Access:Customer.GetOpenMode() <;> 42H
Access:Customer.SetOpenMode(42H)
END
Access:Customer.Open()
See Also: SetOpenMode
getopenmode_get_the_file_s_open_mode_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1