Jump to content

API File.RelPath: Difference between revisions

From Flowcode Help
No edit summary
No edit summary
Line 18: Line 18:


==Detailed description==
==Detailed description==
''<span style="color:red;">No additional information</span>''
 




Line 25: Line 25:
* Declare a variable 'result' of type STRING
* Declare a variable 'result' of type STRING
* Add to a calculation icon: <pre class="brush:[cpp]">result = ::File.RelPath("filename")</pre>
* Add to a calculation icon: <pre class="brush:[cpp]">result = ::File.RelPath("filename")</pre>
''<span style="color:red;">No additional examples</span>''

Revision as of 11:55, 16 January 2023

RelPath
Gets an relative path from an absolute filename 
- STRING Filename
The absolute file path 
- STRING Return


Detailed description

Examples

Calling in a calculation

  • Declare a variable 'result' of type STRING
  • Add to a calculation icon:
    result = ::File.RelPath("filename")