CalculiX  2.13
A Free Software Three-Dimensional Structural Finite Element Program
pop.f File Reference

Go to the source code of this file.

Functions/Subroutines

integer function pop (topstk, stack)
 

Function/Subroutine Documentation

◆ pop()

integer function pop ( integer  topstk,
integer, dimension(*)  stack 
)
24 !
25  implicit none
26 !
27  integer pop,topstk,stack(*)
28 !
29  if(topstk.gt.0) then
30  pop=stack(topstk)
31  topstk=topstk-1
32  else
33  write(6,'("0***error in function pop***")')
34  write(6,'("***stack underflow***")')
35  call exit(201)
36  end if
integer function pop(topstk, stack)
Definition: pop.f:24
Hosted by OpenAircraft.com, (Michigan UAV, LLC)