xtlang Strings

12 views
Skip to first unread message

George

unread,
Feb 23, 2026, 1:45:09 AMFeb 23
to Extempore
Hello All
Just for laughs I'm trying to do something with xtlang Strings.
But I don't know how to do them.
I have figured out now how to create halloc'ed arrays or tuples
containing different number and pointer types
and how to fill and read elements from these.
What I would like to do now is to fill an array with data like these below - which have
an integer and  strings. I have seen stuff about i8 in the docs.
Also xtlang Strings in ~/extempore/libs/base/base.xtm
But I can't see any examples of how to use these.
This has nothing to do with extempore music - just trying to reproduce something I once did on Excel.
I wonder if someone could show me how to build tuples containing data like these.

0 Zero
1 One
2 Two
3 Three
4 Four
5 Five
6 Six
7 Seven
8 Eight
9 Nine
10 Ten

or these

1 Multiply by
2 Divide by
3 Add to
4 Subtract from
5 Divide into
6 Decrease by
7 Increase by

Regards
George

George

unread,
Feb 23, 2026, 4:44:21 PMFeb 23
to Extempore

I'm getting some ideas from Ben's xtlang tests here:

Still working at it ..............
George
Reply all
Reply to author
Forward
0 new messages