Jump to content

API File.RelPath: Difference between revisions

From Flowcode Help
JonnyW (talk | contribs)
XML import of updated API docs
JonnyW (talk | contribs)
XML import of API documentation
Line 1: Line 1:




<sidebar>API contents</sidebar>
<sidebar>API Contents</sidebar>
Gets an relative path from an absolute filename
Gets an relative path from an absolute filename



Revision as of 14:27, 9 August 2013


<sidebar>API Contents</sidebar> Gets an relative path from an absolute filename

Class hierarchy

File

RelPath

Parameters

STRING Filename

The absolute file path


Return value

STRING

No additional information


Detailed description

No additional information


Examples

Calling in a calculation

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

No additional examples