xxxxxxxxxx
24
let pitext;
let txtIn;
function preload() {
pitext = loadStrings("pialot.txt ")
}
function textChanged() {
if(txtIn.value() in pitext.join()) {
print("tEST");
}
}
function setup() {
createCanvas(400, 400);
txtIn = createInput();
txtIn.changed(textChanged);
}
function draw() {
background(220);
let pt = pitext.join();
noLoop();
}