samples/gen.bas
author Volker Birk <vb@pep-project.org>
Mon, 23 Sep 2019 19:25:58 +0200
changeset 31 d3dddb80d1f5
parent 26 0c3815cbb51e
permissions -rw-r--r--
adapting to Python 3
26
0c3815cbb51e adding samples
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     1
110 DATA "Meier", "Uhlmannstrasse 42", "Laupheim"
0c3815cbb51e adding samples
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     2
120 DATA "Schmidt", "Haupstrasse 23", "Bad Waldsee"
0c3815cbb51e adding samples
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     3
1000 FOR I=1 TO 2 STEP 1
0c3815cbb51e adding samples
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     4
1010 READ NAME$, STREET$, VILLAGE$
0c3815cbb51e adding samples
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     5
1020 PRINT "INSERT INTO address (name, street, village) VALUES ('" + NAME$ + "', '" + STREET$ + "', '" + VILLAGE$ + "');"
0c3815cbb51e adding samples
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     6
1030 NEXT I