Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Futurebasic/Language/Reference/fbtestforlibrary

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

FBTestForLibrary function FBTestForLibrary Function ✔ Appearance ✔ Standard ✔ Console Syntax result& = FN FBTESTFORLIBRARY("Library Name") Revised July 28, 2000 (Release 3) Description:This function determines whether a library exists and returns a boolean result. Keep in mind that libraries often have one name that is visible in the Finder and a different name that is used for access. To determine the required name for LIBRARY statements, use a resource editor like Resorcerer and examine the _"cfrg" resource. The proper names for many common libraries can be found under the help menu in the manual named "Mac Libraries." Example: LONG IF FN FBTestForLibrary("ThreadsLib") = _false   STOP "This program will not run without ¬     the Thread Manager libraries." XELSE   LIBRARY "ThreadsLib"   REM Assign toolboxes here   LIBRARYEND IF See Also LIBRARY, TOOLBOX