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’

see also