[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
PrologWarning
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
PrologWarning
(Prolog) Warning
A message given by the compiler indicating that something 'might be wrong' or is obsolete practice. Probably the compiler is right.Domain used as a functor file. Domain declaration with a single functor myfile
domains
myFile = File %Should be 'File = myFile'
goal
write("Done").
Unreachable code
goal
exit(0), %Swap these two lines
write("Done\n").
'Warning' links
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
