Procedure CaseDialogSelectForLoad(url)

CaseDialogSelectForLoad

The procedure CaseDialogSelectForLoad shows the case file selection dialog box. This dialog box allows the user to select an existing case file. The procedure only results in the url of the selected case file, it does not actually load any data from the case file.

CaseDialogSelectForLoad(
    url       ! (input/output) a scalar string parameter
    )

Arguments

url

A string representing the case file to be loaded. On entry, the string is used to initialize the dialog box to the correct folder location. On return, the string will contain the reference to the selected case file.

Return Value

The procedure returns 1 if the user selected an existing url, and 0 if the user cancelled the dialog box.

Note

  • This function is only applicable if the project option Data_Management_style is set to Disk_files_and_folders.

  • This function returns 0 if the IDE is not loaded, for example when running the component version of AIMMS, or when running with the command line option --as-server.

See also

The procedures CaseDialogSelectForSave, CaseFileLoad