Hi to all
Can someone confirm this test for me
when run Pkt will not display anything (blank)
but if I change the position to 1 instead of 2
MID$(Pkt,1) = "Test" then it will Work.
Its fine in PBCC501 but don't get the same result using
PBWin9/8. I was trying to build up a String with various Characters
in various positions, it would not display anything till the Position number
was 1.
Can someone confirm this test for me
when run Pkt will not display anything (blank)
but if I change the position to 1 instead of 2
MID$(Pkt,1) = "Test" then it will Work.
Its fine in PBCC501 but don't get the same result using
PBWin9/8. I was trying to build up a String with various Characters
in various positions, it would not display anything till the Position number
was 1.
Code:
FUNCTION Test () AS LONG LOCAL Pkt AS STRING * 10 MID$(Pkt,2) = "Test" MSGBOX Pkt END FUNCTION
Comment