A strange behavior i see first time with RevolutionStudio 4.0
I have a function in the card script :
Code: Select all
function myTestFunction pText
put empty into rmyTestFunction
put char 1 to 10 of pText into rmyTestFunction
return rmyTestFunction
end myTestFunction
1. if i send from the message box :
put myTestFunction("123456789pli") into fld "flespref"
"123456789p" come in the messages box
But no change in fld "flespref"
2. if i send from the message box :
put myTestFunction("123456789pli") into fld "agdjhgafjahgf" (fld "agdjhgafjahgf" not exists)
"123456789p" come in the messages box without error message (the lockErrorDialogs= false)
3.if i send it from an handler in card script
Code: Select all
on testFromCd
put myTestFunction("123456789pli") into fld "flespref"
end testFromCd
Someone have an idea ?
Thank
Jean-Marc