z=55
z=z+1
[FONT=Courier New]RNDNum = [/FONT][FONT=Courier New][COLOR=#000090][B]RND[/B][/COLOR][/FONT][FONT=Courier New]([/FONT][FONT=Courier New][COLOR=#ff0000]1000[/COLOR][/FONT][FONT=Courier New])
RNDNum$ = [/FONT][FONT=Courier New][COLOR=#000090][B]CHAR[/B][/COLOR][/FONT][FONT=Courier New](RNDNum)
FileName$ = [/FONT][FONT=Courier New][COLOR=#800000]'D:\Number.txt'[/COLOR][/FONT] [FONT=Courier New]
ToFile = [/FONT][FONT=Courier New][COLOR=#000090][B]StrToFile[/B][/COLOR][/FONT][FONT=Courier New](FileName$,RNDNum$,[/FONT][FONT=Courier New][COLOR=#0000ff]FALSE[/COLOR][/FONT][FONT=Courier New],FALSE)[/FONT]
[FONT=Courier New]Number = [/FONT][FONT=Courier New][COLOR=#000090][B]VAL[/B][/COLOR][/FONT][FONT=Courier New]([/FONT][FONT=Courier New][COLOR=#000090][B]StrFromFile[/B][/COLOR][/FONT][FONT=Courier New](FileName$,[/FONT][FONT=Courier New][COLOR=#ff0000]1[/COLOR][/FONT][FONT=Courier New],1))
Number = Number + [/FONT][FONT=Courier New][COLOR=#ff0000]1[/COLOR][/FONT] [FONT=Courier New]
Number$ = [/FONT][FONT=Courier New][COLOR=#000090][B]CHAR[/B][/COLOR][/FONT][FONT=Courier New](Number)
ToFile = [/FONT][FONT=Courier New][COLOR=#000090][B]StrToFile[/B][/COLOR][/FONT][FONT=Courier New](FileName$,Number$,[/FONT][FONT=Courier New][COLOR=#0000ff]FALSE[/COLOR][/FONT][FONT=Courier New],FALSE)[/FONT]
Number = VAL(StrFromFile(Number.txt$,1,1))
Number = Number + 1
Number$ = CHAR(Number)
ToFile = StrToFile(Number.txt$,Number$,FALSE,FALSE)









