Code: Select all
Procedure Test(A, FindString$)
Buffer_Len=StringByteLength(FindString$)
*X=AllocateMemory(Buffer_Len)
PokeS(*X,FindString$,-1) ;;; this line apparently interferes? <-
*Y=AllocateMemory(Buffer_Len) ;;;;;;;;;;;; why sometimes fails?
EndProcedure
Test(123,"info")