samples/gen.bas
author Volker Birk <vb@pep-project.org>
Thu, 21 Jan 2021 01:46:34 +0100
changeset 70 58043c7bcc51
parent 26 0c3815cbb51e
permissions -rw-r--r--
renamed in 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