On the C-Backend nothing happens.
Code: Select all
Structure strTest
value.i
EndStructure
Define *test.strTest=5
Debug *test\value
Code: Select all
Structure strTest
value.i
EndStructure
Define *test.strTest=5
Debug *test\value
Code: Select all
search.s = #CRLF$+"Word" ; <--- Here
If OpenFile(0,"c:\temp\test.txt")
text.s = ReadString(0,#PB_Ascii | #PB_File_IgnoreEOL)
CloseFile(0)
EndIf
Debug FindString(text,search) ; 11
What should work? The code or the useful error message?