September Morn Update
This commit is contained in:
parent
4e2d22a71d
commit
aac6731f2c
6856 changed files with 141342 additions and 21127 deletions
|
|
@ -1,23 +1,22 @@
|
|||
text s, t;
|
||||
text t;
|
||||
data b;
|
||||
|
||||
s = "Bangkok";
|
||||
b = "Bangkok";
|
||||
|
||||
t = "Bang";
|
||||
|
||||
b_cast(b, s);
|
||||
|
||||
o_form("starts with, embeds, ends with \"~\": ~, ~, ~\n", t, b_seek(b, t) == 0,
|
||||
b_seek(b, t) != -1,
|
||||
b_seek(b, t) != -1 && b_seek(b, t) + length(t) == length(s));
|
||||
o_form("starts with, embeds, ends with \"~\": ~, ~, ~\n", t, b.seek(t) == 0,
|
||||
b.seek(t) != -1,
|
||||
b.seek(t) != -1 && b.seek(t) + ~t == ~b);
|
||||
|
||||
t = "ok";
|
||||
|
||||
o_form("starts with, embeds, ends with \"~\": ~, ~, ~\n", t, b_seek(b, t) == 0,
|
||||
b_seek(b, t) != -1,
|
||||
b_seek(b, t) != -1 && b_seek(b, t) + length(t) == length(s));
|
||||
o_form("starts with, embeds, ends with \"~\": ~, ~, ~\n", t, b.seek(t) == 0,
|
||||
b.seek(t) != -1,
|
||||
b.seek(t) != -1 && b.seek(t) + ~t == ~b);
|
||||
|
||||
t = "Summer";
|
||||
|
||||
o_form("starts with, embeds, ends with \"~\": ~, ~, ~\n", t, b_seek(b, t) == 0,
|
||||
b_seek(b, t) != -1,
|
||||
b_seek(b, t) != -1 && b_seek(b, t) + length(t) == length(s));
|
||||
o_form("starts with, embeds, ends with \"~\": ~, ~, ~\n", t, b.seek(t) == 0,
|
||||
b.seek(t) != -1,
|
||||
b.seek(t) != -1 && b.seek(t) + ~t == ~b);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue