scriptId

scriptId, function

def pure scriptId(): number

Returns the script identifier of the current run.

Examples

show scalar "Script ID" with scriptId()

Output: one scalar tile containing the script identifier of the current run.

Remarks

scriptId() cannot be called from modules or user-defined functions, and it is not available on try.lokad.com.

See also

User Contributed Notes
0 notes + add a note