Vely logo Empower C
install  tutorials  examples
documentation  license  about

12.1.0 released on Sep 19, 2022

get-app



PURPOSE:


Obtain data that describes the application.

SYNTAX:


get-app \
    name | directory | trace-directory | file-directory \
        | db-vendor <database configuration> | upload-size \
    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:


Information ( get-app   get-req   get-sys   set-req  )  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. Icons copyright PaweĊ‚ Kuna licensed under MIT. This web page is licensed under CC-BY-SA-4.0.