TextArea

BlitzPlus Forums/BlitzPlus Beginners Area/TextArea

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

well, heres what it saves to
<html>

;(must be this text, but from here on every line has those boxes before it)
<head>

<title>TITLE-NUM=Type.EXT.IMPXMJS</title>

</head>

<body>

</body>

</html


f=WriteFile(filename$)
							temp_len=1
							temp$=TextAreaText(txtbox) ;whole file
								For i=0 To TextAreaLen(txtbox,2) ;count lines		
									WriteLine(f,Mid$(temp$,temp_len,TextAreaLineLen(txtbox,i)))
									temp_len=TextAreaChar(txtbox,i+1)
								Next
CloseFile(f)