User Tools

Site Tools


k10:k10.1:start

10.1 Sequence

The simplest form of the program structure in individual procedures (→ source code) is the linear statement sequence. Several statements are executed immediately one after the other in a statement block, with empty lines and comments in the source code generally ignored by the interpreter:

  • Instruction_1

  • Instruction_k

Example

Public Sub Form_Open()
' Statement block -> start
 
  FMain.Center
  myHttpClient = New HttpClient As "myHttpClient"
 
  Feeds[0] = "http://www.tagesschau.de/xml/rss2"
  Feeds[1] = "http://www.zdf.de/ZDFmediathek/rss/166?view=rss"
  Feeds[2] = "http://www.spiegel.de/schlagzeilen/tops/index.rss"
  cmbFeedSource.Add("ARD", 0)
  cmbFeedSource.Add("ZDF", 1)
  cmbFeedSource.Add("Spiegel-Online", 2)
 
' Automatically select the first URL
  cmbFeedSource.Index = 0
  WebView.Background = &HE1EAF6 
 
' Statement block -> end
End ' Form_Open()

Download

Articles

Download

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.
k10/k10.1/start.txt · Last modified: by 127.0.0.1