Jump to content

API File.RelPath: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import
Admin (talk | contribs)
XML import
Line 12: Line 12:
[[Variable types|STRING]] ''Filename''
[[Variable types|STRING]] ''Filename''
:The absolute file path
:The absolute file path


==Return value==
==Return value==
Line 17: Line 18:


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





Revision as of 01:55, 12 May 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 information