
Small Basic: Reverse Text Software/ Program
Channel:
Subscribers:
613
Published on ● Video Link: https://www.youtube.com/watch?v=2fQhwtk3x4g
Hello, in this video we will learn how to program in Small Basic to make Backward text software.
I hope you like this video, and dont forget to subscribe or like this video. Thank you.
The code is:
TextWindow.Write("What is the string: ")
string = TextWindow.Read()
len = Text.GetLength(string)
For i = 0 To len
div[i] = Text.GetSubText(string,i,1)
'TextWindow.WriteLine(div[i])
EndFor
TextWindow.Write("Backward is: ")
For i = len To 0 Step -1
'TextWindow.Write("Help")
TextWindow.Write(div[i])
EndFor
TextWindow.WriteLine("")
TextWindow.Read()