| 发表于:2007-09-01 20:18:35 楼主 |
dim memstart as long dim memend as long, realyxymem as long dim i as single, j as single, x as integer dim seekflag1 as string, seekflag2 as string memstart = &h10000 memend = &h77c33ff0 if realyxymem = 0 then for i = memstart to memend step &h1 seekflag1 = chr(clng(readmem(clng( "&h " & i)))) if seekflag1 = "[ " then seekflag2 = " " for x = 1 to 9 seekflag2 = seekflag2 & chr(readmem(clng( "&h " & i) + clng( "&h " & x - 1))) next x '分析得到的 "[ "号后面的字串 '特征: "[ " + 数字 + ". " + 数字 + "] " y = instr(seekflag2, ". ") if y <> 0 then if left(seekflag2, 1) = "[ " and right(seekflag2, 1) = "] " and y <> 0 _ and instr( "0123456789 ", mid(seekflag2, y - 1)) <> 0 and _ instr( "0123456789 ", mid(seekflag2, len(seekflag2) - 2, 1)) <> 0 then realyxymem = clng( "&h " & i) goto seekmemend end if end if end if next i end if seekmemend: if realyxymem <> 0 then label17.caption = " " for i = 1 to 9 label17.caption = label17.caption & chr(clng(readmem(realyxymem + clng( "&h " & i - 1)))) next i end if '以上是我的代码..可是不对头..有达人帮我讲下吗???怎么样才行.. |
|
|
|
|