Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
'declare
Dim blnFlagName as boolean
'initialize to false
blnFlagName = false
'some code passes, check condition
blnFlagName = MyConditionFunction
Const Black = "b"
Const White = "w"
Private Sub Command0_Click()
Dim count As Long
Dim picture As String
picture = "[URL unfurl="true"]wwwwwbbbwwwbbwwbw"[/URL]
Text1 = ""
count = 1
Do While count < Len(picture)
If Mid(picture, count, 1) = Black Then
If Text1 <> "" Then Text1 = Text1 & ", "
Text1 = Text1 & count & "->"
count = count + 1
Do While Mid(picture, count, 1) = Black
count = count + 1
Loop
count = count - 1
Text1 = Text1 & count
End If
count = count + 1
Loop
End Sub
Dim count As Long
Text1 = ""
count = 0
Do While count < Pic.ScaleWidth
If Pic.Point(count,190) = Black Then
If Text1 <> "" Then Text1 = Text1 & ", "
Text1 = Text1 & count & "->"
count = count + 1
Do While Pic.Point(count,190) = Black
count = count + 1
Loop
count = count - 1
Text1 = Text1 & count
End If
count = count + 1
Loop