| 1238 | } |
| 1239 | |
| 1240 | void fxEcho(txMachine* the, txString theString) |
| 1241 | { |
| 1242 | txInteger srcLength = mxStringLength(theString); |
| 1243 | txInteger dstLength = sizeof(the->echoBuffer) - the->echoOffset; |
| 1244 | while (srcLength > dstLength) { |
| 1245 | c_memcpy(the->echoBuffer + the->echoOffset, theString, dstLength); |
| 1246 | theString += dstLength; |
| 1247 | srcLength -= dstLength; |
| 1248 | the->echoOffset = sizeof(the->echoBuffer); |
| 1249 | fxSend(the, 1); |
| 1250 | the->echoOffset = 0; |
| 1251 | dstLength = sizeof(the->echoBuffer); |
| 1252 | } |
| 1253 | c_memcpy(the->echoBuffer + the->echoOffset, theString, srcLength); |
| 1254 | the->echoOffset += srcLength; |
| 1255 | } |
| 1256 | |
| 1257 | void fxEchoAddress(txMachine* the, txSlot* theSlot) |
| 1258 | { |
no test coverage detected