Storage_name
file,-folder-and-read-functions storage_name
syntax
- storage_name(item_with_storage)
definition
storage_name(item_with_storage) results in a string parameter with the value of the storagename property configured for the item_with_storage.
folders-and-placeholders are expanded in the result.
applies to
- data-item item_with_storage with a configured storage.
example
1. attribute<uint8> griddata (GridUnit): StorageName = "%projdir%/data/testgrid.asc";
2. parameter<string> storage_name := storage_name(griddata);
result: storage_name = ‘c:/prj/tst/data/testgrid.asc’