CRLF
=
Text
.
GetCharacter
(
13
)
+
10
GraphicsWindow
BackgroundColor
"LightGray"
BrushColor
"Black"
gw
Width
gh
Height
tb
Controls
AddMultiLineTextBox
0
,
SetSize
-
30
AddButton
"Enter"
50
ButtonClicked
OnButtonClicked
Sub
buf
GetTextBoxText
ConvertTextToLines
ShowLines
EndSub
len
GetLength
nLines
ptr
1
While
<
eol
GetIndexOf
GetSubTextToEnd
If
Then
' eol not found
lines
[
]
Else
' eol found
GetSubText
EndIf
EndWhile
For
i
To
TextWindow
WriteLine
"lines["
"]: "
EndFor
Ed Price - MSFT edited Revision 4. Comment: Font
Ed Price - MSFT edited Revision 3. Comment: Grammar, tags
Nonki Takahashi edited Original. Comment: wording
This article is from social.msdn.microsoft.com/.../7e73127a-a155-40eb-ab12-cc22075e286b .