Basic examples (2)
o1 = new stzList([ "A", "B", "C" ]) o1.ExtendXT(:ToPosition = 5, :With = "0") # Or ExtendToWith() ? o1.Content()
A B C 0 0
run on 2026-10-02 04:23 inside the library at commit 0e72e2e2c; taken from 590_extendxt.ring(opens in a new tab)
o1 = new stzList([ "A", "B", "C" ]) o1.ExtendXT( :List, :ToPosition = 5 ) # extendxt example 1 ? @@( o1.Content() )
[ "A", "B", "C", "", "" ]
run on 2026-10-02 04:22 inside the library at commit 0e72e2e2c; taken from 158_extendxt.ring(opens in a new tab)
Scope (4)
o1 = new stzList([ "A", "B", "C" ]) o1.ExtendXT( :ToPosition = 5, :With = "*" ) # extendxt example 1 ? @@( o1.Content() )
[ "A", "B", "C", "*", "*" ]
run on 2026-10-02 04:22 inside the library at commit 0e72e2e2c; taken from 160_extendxt.ring(opens in a new tab)
o1 = new stzList([ "A", "B", "C" ]) o1.ExtendXT( :ToPosition = 5, :ByItemsRepeated ) # extendxt example 1 ? @@( o1.Content() )
[ "A", "B", "C", "A", "B" ]
run on 2026-10-02 04:22 inside the library at commit 0e72e2e2c; taken from 159_extendxt.ring(opens in a new tab)
o1 = new stzList([ "A", "B", "C" ]) o1.ExtendXT( :ToPosition = 5, :WithItemsIn = [ "D", "E" ]) # extendxt example 1 ? @@( o1.Content() )
[ "A", "B", "C", "D", "E" ]
run on 2026-10-02 04:22 inside the library at commit 0e72e2e2c; taken from 161_extendxt.ring(opens in a new tab)
o1 = new stzList([ "A", "B", "C" ]) o1.ExtendXT( :List, :With = ["D", "E"]) # the two items are appended one by one, not nested ? @@( o1.Content() )
[ "A", "B", "C", "D", "E" ]
run on 2026-10-02 04:22 inside the library at commit 0e72e2e2c; taken from 157_extendxt.ring(opens in a new tab)
The extensions of this method
Each extension, and whether it exists for this method; an extension that exists combines with the others (FindSTCS).
Every example is a test file of the library, run inside the library for this page; only those whose output kept every promise their file wrote are shown.

