? :( Loading into & Saving Text File from RichTextBox ): ?
For the project of compiler, i already have the rows & cols sloutons from these forums, thanks every one for that specally dman1
now for the phase of Lexical Analysis, i have to generate tokens, i m using vb.net, i have made a listbox that holds all possible KEYWORDS alowed in the grammer, i match every seperate WORD with all itmes of that list
now the problem is all KEYWORDS found should be displayed & saved in a text file, i want to know how can we save the text in the richtextbox control in a text file, & how can we load it back?
see simply loading text file into & Saving Text File from RichTextBox
Also if someone can tell if we want to check the character we are reading from the rich text box, we write
if rtb1.text.chars(index) = "A"
if rtb1.text.chars(index) = "@"
if rtb1.text.chars(index) = " " 'to check if thats space
then how can we check if that position character is a new line or return key character / symbol?
Also tell please when we write
if rtb1.text.chars(index).isSeperator
what character are detected in IsSeperator, in isWhitreSpace (does the newline / return key symbol is detected in this), in isSurrogate (what is this?)

