Meta Project

The Unofficial Meta Documentation

AT-TAIL

Summary

AT-TAIL Sets the position of a STRING! after the last position.

Category

Categoryname

Usage

AT-TAIL value

Arguments

value - STRING! type value

Refinements

This method has no refinements

Description

AT-TAIL places the current position at the tail of the STRING! type variable, just after the last position.

Example Code

When processing a string one character after another, you can stop that process by placing the current position to the AT-TAIL place.

this: "this"
this: at-tail this
if is-tail this [write/line "this is at tail"]

Related

IS-TAIL  

Back to the Meta Methods Reference index