ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Managing external languages / Object functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Library,Disk (External language)
In french: Bibli,Disque
Opens the project library that is stored on disk.
Example
// En C
APPELWD("Bibli,Disque,Compta.WDL");
APPELWD("Projet,Compta");
// En Pascal
APPELWD('Bibli,Disque,Compta.WDL');
APPELWD('Projet,Compta');
// En VB
call APPELWD("Bibli,Disque,Compta.WDL")
call APPELWD("Projet,Compta")
Syntax
Library,Disk(<Library name> [, <"/CR">])
<Library name>: Character string
Name of the library with the extension and the access path if possible.
<"/CR">: Character string (optional)
Optional status code rreturned by Library,Disk.
Remarks
  • Bibli,Disque must be called before HInit and Project.
    A library is created by the editor of WINDEV and its extension is WDL. A single library can be opened at a given time.
    The style sheet of project is loaded by the function:
    Project,<project_name>
  • Library,Disk is called with the "/CR" parameter:
    • If an error occurred when opening the library:
      • The status code "*E*" is returned in the WdKey variable (WDKey in C)
      • WdInt (WDEntier in C) contains a non-existing file, an invalid library and an insufficient memory.
    • If no error occurred when opening the library:
      • WdInt (WDInt in C) contains 0
      • WdKey (WDKey in C) returns an empty string.
    • If no library name is given, Bibli,Disque closes the current library.
      The library file remains opened as long as the library is used.
Minimum version required
  • Version 14
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help