Difference between revisions of "API File.RelPath"

From Flowcode Help
Jump to navigationJump to search
 
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>''
 

Latest revision as of 11:55, 16 January 2023

Fc9-comp-macro.png RelPath
Gets an relative path from an absolute filename 
Fc9-string-icon.png - STRING Filename
The absolute file path 
Fc9-string-icon.png - 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")