cur_file

cur_file

cur_file

Function

Returns the current source code file path.

Syntax

Parameters

ParametersTypeRequiredDefault valueDescription
completeBoolNofalseReturns the complete path when true; otherwise returns the display path.

Return value

TypeDescription
StringReturns the current source code file path.

Example

Notes

  • Normally returns in eval scripts.