1DELPHFIG(3) MBK PHYSICAL FUNCTIONS DELPHFIG(3)
2
3
4
6 delphfig - delete and free a physical figure
7
9 #include "mph.h"
10 int delphfig(figname)
11 char ∗figname;
12
14 figname Name of the figure to be deleted
15
17 delphfig deletes the figure called figname from the list of physical
18 figure in memory. All the lists of elements belonging to the figure are
19 also deleted and freed.
20
22 delphfig returns 1 if the figure was delete, and 0 if no figure called
23 figname was present in memory.
24
26 #include "mph.h"
27 void delete_na2_y()
28 {
29 if (delphfig("na2_y"))
30 (void)fputs("deleted na2_y successfully", stdout);
31 else
32 (void)fputs("na2_y not present in ram !", stdout);
33 }
34
36 mbk(1), phfig(3), addphfig(3), getphfig(3), loadphfig(3), savephfig(3),
37 flattenphfig(3), rflattenphfig(3).
38
39
40
41
42
43
44ASIM/LIP6 October 1, 1997 DELPHFIG(3)