Problem
The pictures in a module shall be counted. Die Anzahl der Pictures in einem Modul soll ermittelt werden.
Approach – Ansatz
Iteration through the picture names. Durchlaufen aller Namen in einer Schleife, Variablen mitzählen.
Solution – Lösung
// Anzahl der Pictures
int countPictures=0;
for s in pictures current Project do {
// print s " \n"
countPictures++;
}