-
-
Notifications
You must be signed in to change notification settings - Fork 85
/
foil.scroll
41 lines (37 loc) · 967 Bytes
/
foil.scroll
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import ../code/conceptPage.scroll
id foil
name File Oriented Interpretive Language
appeared 1967
tags pl
standsFor File Oriented Interpretive Language
fileType text
centralPackageRepositoryCount 0
country United States
originCommunity University of Michigan
wikipedia https://en.wikipedia.org/wiki/FOIL_(programming_language)
example
:START COUNT=0
TY Enter the number of times you want to repeat the statement:
ACCEPT
MAX=NUMBER.(1)
:LOOP
TY This loop has run #COUNT times it will terminate when it runs #MAX times
IF COUNT<MAX,
COUNT=COUNT+1
GO TO :LOOP
TY Do you want to do this again?
ACCEPT
IF 'yes', GO TO START
IF 'no' GO TO FINISH
:FINISH
TY Goodbye!
STOP
related pilot basic abc forth
summary FOIL was the name for two different programming languages.
pageId 602746
created 2004
backlinksCount 8
revisionCount 31
dailyPageViews 5
appeared 1967
hopl https://hopl.info/showlanguage.prx?exp=325