Home > database >  A notepad program written in PB
A notepad program written in PB

Time:10-26

I recently learn PB, is not very will,
Wish you a great god can help the younger brother, give a source code, best explain it again,

CodePudding user response:

http://download.csdn.net/detail/lzp_lrp/5869173

CodePudding user response:

@ lzp_lrp
I downloaded a function to compare the notepad, but a lot of places don't understand

CodePudding user response:

reference 1st floor lzp_lrp response:
http://download.csdn.net/detail/lzp_lrp/5869173

IF FileExists (is_filename) THEN
IF Messagebox (" save as ", is_path + string (" "has been in existence, ~ n to replace it?" ), & amp;
The Exclamation! YESNO! THEN, 2)=2
RETURN
END the IF
END the IF

Ii_FileNum=fileopen (is_path StreamMode! The Write! , LockReadWrite! The Replace!
Filewrite (ii_FileNum, w_notepad. Mle_notepad. Text)
Fileclose (ii_FileNum)
Ib_store=TRUE
  • Related