Just got PBWin 9 (all the kudos to PB everyone says). However when I copied this to try it out, it keeps "bomb"ing:
'
'
Code:
'PBWIN 9.00 - WinApi 05/2008 - XP Pro SP3 #COMPILE EXE #INCLUDE "WIN32API.INC" FUNCTION PBMAIN 'Code clipped from Help File LOCAL Listing$() '<<- had to add DIM Listing$(1 TO 1000) DIM x&, temp$ temp$ = DIR$("*.*", TO Listing(x&) ) 'Data type mismatch error WHILE LEN(temp$) AND x& < 1000 ' max = 1000 INCR x& temp$ = DIR$(NEXT, TO Listing(x&) ) WEND END FUNCTION '
Comment