German

Apr 25, 01:42 PM


Wenn Sie noch einen Rechner nicht programmiert haben, koennen Sie vielleicht den folgenden ‘examples’ benutzen, um Programmierung zu lernen.

Wenn

Zuerst, mann kann ‘weil’ und ‘wenn’ wie immer benutzen.

x ist 2. Wenn x mal 3 weniger als 5 ist, schreib “Hallo” sonst schreib “Tschuess”!


com.aiaioo.VaklipiOutputFixture
program run()
x ist 2. Wenn x mal 3 groesser als 5 ist, schreib “Hallo” sonst schreib “Tschuess”! Hallo
x ist 2. Wenn x plus 3 kleiner als 4 ist, schreib “Hallo” sonst schreib “Tschuess”! Tschuess
fit.Summary

Run test

Waehrend

Und wenn einen ‘loop’ noetig ist, benutzt mann waehrend.

y ist gleich 0. x ist gleich 1. während x ist weniger als 5, y wird y plus x. Danach erhöhe x.


com.aiaioo.VaklipiVariableFixture
program variable run()
y ist gleich 0. x ist gleich 1. während x ist weniger als 5, y wird y plus x. Danach erhöhe x. y 10.0
y ist gleich 0. x ist gleich 1. während x ist weniger als 5, y wird y plus x und erhöhe x. y 10.0
fit.Summary

Run test

You can learn programming with Vaklipi in the following pages:

  1. Introduction: Learn about Vaklipi
  2. Output: Learn to write out messages in Vaklipi
  3. Declarations: Learn to set the value of a variable
  4. Operators: Learn to do addition, multiplication, division etc.
  5. Conditionals: Learn to take specify the conditions for performing certain steps.
  6. Looping: Learn to repeat steps till some condition is satisfied.
  7. Jumping: Learn to jump to some point in the code.
  8. Functions: Learn to issue an command.
  9. Constructors: Learn to create an object of a certain type.
  10. Selectors: Learn to refer to a real world object.

Cohan Sujay Carlos

User Guides, Vaklipi

---

Comment

Commenting is closed for this article.

---