// build temporary filename using TEMP environment variable and current time
Set V[tfn] "&%[TEMP]\guixttemp.&V[today_ymdhms]"
// create new file
Openfile "&V[tfn]" -output -utf8
// Record 1
Set V[x1] "Cancún"
Set V[x2] "México"
AppendFile "&V[tfn]" x1 x2
// Record 2
Set V[x1] "Besançon"
Set V[x2] "France"
AppendFile "&V[tfn]" x1 x2
// close file
Closefile "&V[tfn]"
// test message
CopyText fromFile="&V[tfn]" toText="mytext"
Message "&text[mytext]"
// remove temporary file
RemoveFile "&V[tfn]"