General::bebal
Details
-
- This message is generated when a file loaded using Get includes BeginPackage without a corresponding EndPackage or Begin without a corresponding End.
- This message can also be generated by functions such as Needs and BeginPackage that use Get to load files.
- This message is a warning about an unexpected use of BeginPackage or Begin. This message does not necessarily indicate an error.
- Off[message] switches off the message; On[message] switches it on. For example: Off[General::bebal].
Examples
Basic Examples (1)
The example package includes Begin without a corresponding End:
Write["TESTFILE", OutputForm["Begin[\"`private`\"]"]]Close["TESTFILE"]Get["TESTFILE"]Evaluate End[] to restore the original context:
End[]DeleteFile["TESTFILE"]