This example demonstrates how to split code into logical modules across multiple files and import them using the use keyword in TechScript.
do square(x)
send x * x
end
do cube(x)
send x * x * x
end
use math_utils
val = 5
say $"Value: {val}"
say $"Square: {math_utils.square(val)}"
say $"Cube: {math_utils.cube(val)}"
tech run main.txsValue: 5
Square: 25
Cube: 125