Vely logo install
examples
documentation

Vely 15.2.0 released on Jan 18, 2023
Articles updated Jan 17, 2023

get-app


Issues with this documentation page? Report here.

Purpose:


Obtain data that describes the application.

Syntax:



get-app \
    name | directory | trace-directory | file-directory \
        | db-vendor <database configuration> | upload-size \
        | path \
    to [ define ] <variable>


Description:


Application-related variables can be obtained with get-app statement. The following application variables can be obtained (they are all strings except upload-size):

Note that all these values are constants.

Examples:


Get the name of Vely application:

get-app name to define appname

Get the vendor of database db:

get-app db-vendor db to define dbv
if (!strcmp (dbv, VV_POSTGRES)) {
    // do something Postgres specific
}


See also:


Application information ( get-app  )  SEE ALL (documentation)



Copyright (c) 2022 DaSoftver LLC. Vely is a trademark of Dasoftver LLC. The software and information herein are provided "AS IS" and without any warranties or guarantees of any kind. Vely elephant logo (c) 2022 DaSoftver LLC. This web page is licensed under CC-BY-SA-4.0.