Steren CAL-150 Instructivo De Uso página 249

Tabla de contenido

Publicidad

Idiomas disponibles

Idiomas disponibles

in the specifi ed area. Once the execution of the sub-routine
is fi nished, the program will return to the Prog n command in
the principal program.
Skips can be executed from one sub-routine to another one
and this process is called "nesting"
This process can be realized up to a maximum of 10 levels.
Trying to exceed this limit will produce an error (Go error)
Example:
Simultaneously execute the two programs previously real-
ized in order to calculate the surface areas and the volumes
of a regular octahedron and a regular tetrahedron.
Express the results with 3 decimals
This example employs two programs previously created and
used. The fi rst step is introducing the number of decimal
spaces desired.
Now, check the original programs:
Octahedron
Tetrahedron

Publicidad

Tabla de contenido
loading

Tabla de contenido