|
Yes, thank you andos.
// Call Loop
new wincmd does not crash
original:
_SUB Loop
FORM DriveType=%AllDrive%
LSTR aStr=%AllDrive%,2
FIND $%aStr%=X:,!FIND $%DriveType%=DRIVE_CDROM,!ENVI RDrive=%RDrive%|%aStr%
MSTR AllDrive=%AllDrive%,4,0
STRL iLen=%AllDrive%
IFEX $%iLen%>0,CALL Loop!MSTR RDrive=%RDrive%,2,0
_END
FDRV AllDrive=
ENVI RDrive=
CALL Loop
MSTR MDrive=%RDrive%,0,0
LSTR MDrive=%MDrive%,2
ENVI lan=%EDIT1%
I tried this - but I can't get it to work
New MSTR <variable name ><=>< number "," string>
What are the correct new commands please?
How do you get smilies into the posts ? - sorry I can not read Chinese.
[ 本帖最后由 2011cew 于 2011-5-6 21:48 编辑 ] |
|