company logo

io_path - Path for reading and writing the file

The path for reading or writing the file to the file system environment is an internal property, evaluated when reading a FileMemo instance. This path depends on the FileMemo attributes, especially the absolute option. Moreover it depends from the context with its option variables, the FileMemo instance is read.

EXAMPLE1: file_path=%PRJ_INCLUDE%

file_name=myfile

file_ext=h

absolute=false

-->

io_path=c:\odaba\Sample\SampleBase\SampleCtxi\include\myfile.h (Windows)

io_path=/odaba/Sample/SampleBase/SampleCtxi/include/myfile.h (Unix)

EXAMPLE2: file_path=%PRJ_ROOT%%PRJ_INCLUDE%

file_name=myfile

file_ext=h

absolute=true

-->

Read/Write the file via import/export:

io_path=c:\odaba\Sample\include\myfile.h (Windows)

io_path=/odaba/Sample/include/myfile.h (Unix)

EXAMPLE3: file_path=""

file_name=map

file_ext=""

absolute=true

-->

io_path=map

Because this is a system include writing the file ahould be sepressed by setting the option no_exptert=true.

Type: char