File.prototype.placeholder()

Returns the placeholder a file is located in.

Syntax

file.placeholder() uint8

Description

A file may contain other files, which are called its children. These children are sorted. First, they are sorted in groups, which are called placeholders, then they are ordered inside these placeholders.

This method tells which placeholder the file is placed in.

Examples

Basic example.

Place a file in placeholder 3, then print the placeholder.