Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Pascal (programming language)
(view source)
Revision as of 03:36, March 3, 2008
1 byte added
,
03:36, March 3, 2008
m
→Sets
:
missing comma
Line 33:
Line 33:
In Pascal, a '''set''' is a collection of ordinal values of the same type.
In Pascal, a '''set''' is a collection of ordinal values of the same type.
−
Operators can test for the existence of a value in a set ''and'' or ''or'' two sets together, compare sets, and do other operations.
+
Operators can test for the existence of a value in a set
,
''and'' or ''or'' two sets together, compare sets, and do other operations.
The following code shows an example of declaring and using a set, in this case of the days of the month that are Sundays.
The following code shows an example of declaring and using a set, in this case of the days of the month that are Sundays.
type
type
Philip J. Rayment
nsTeam2RO, nsTeam2RW, nsTeam2_talkRO, nsTeam2_talkRW
13,254
edits
Navigation menu
Personal tools
Log in
Namespaces
Article
talk page
Variants
Views
Read
View source
View history
More
Search
Popular Links
Main Page
Recent changes
New Pages
Random page
Statistics
Edit Console
Special pages
Printable version