Simple Pascal Types

Does standard Pascal deal with simple types? Are they the only types that can be returned from a function?

+3
source share
2 answers

in accordance with specification simple types are integer, real, logical, char, transfer ( (red, yellow, green, blue, tartan)) and subranges ( 1..100). also according to the specification , functions can return only simple-type-identifieror ( |) pointer-type-identifier.

+2
source

simple types in pascal,

integer for numeric,

real for floating point,

char for character,

boolean for the meaning of truth and

string for text

these are the basic types that can be used in pascal, and all of them can be returned from a function

0
source

Source: https://habr.com/ru/post/1743848/


All Articles