| 1 |
(* Test file for Printing Fully Qualified option *) |
| 2 |
|
| 3 |
Module Foo. |
| 4 |
Axiom ax : False. |
| 5 |
End Foo. |
| 6 |
|
| 7 |
Module Bar. |
| 8 |
Axiom ax : False. |
| 9 |
End Bar. |
| 10 |
|
| 11 |
Definition use_foo := Foo.ax. |
| 12 |
Definition use_bar := Bar.ax. |
| 13 |
|
| 14 |
(* Test with nested modules *) |
| 15 |
Module Outer. |
| 16 |
Module Inner. |
| 17 |
Definition def := 0. |
| 18 |
End Inner. |
| 19 |
End Outer. |
| 20 |
|
| 21 |
Definition use_nested := Outer.Inner.def. |
| 22 |
|
| 23 |
(* Search with name-only output - default (shortest names) *) |
| 24 |
Set Search Output Name Only. |
| 25 |
Search "use_foo". |
| 26 |
Search "use_bar". |
| 27 |
Search "use_nested". |
| 28 |
|
| 29 |
(* Search with name-only output - fully qualified *) |
| 30 |
Set Printing Fully Qualified. |
| 31 |
Search "use_foo". |
| 32 |
Search "use_bar". |
| 33 |
Search "use_nested". |
| 34 |
|
| 35 |
Unset Printing Fully Qualified. |