DeleteSingletonCodeunitOf

Typestatement
DictionaryLCB
LibraryLiveCode Builder
Syntax
delete codeunit <Index> of <Target>
Associationscom.livecode.codeunit
Summary

Deletes the codeunit at index Index in Target.

Parameters
NameTypeDescription
Index

An expression which evaluates to a valid integer index of Target.

Target

A string container.

Example
variable tVar as String
put "thorough" into tVar
delete codeunit 3 of tVar -- tVar contains "through"
Description

Replaces the codeunit at the given index with the empty string.

Note: It is an error if Index is out of range.

Tagsstrings