Archive: dirvar


dirvar
when i try to use DirVar i get an error
the exact error message:

Usage: DirVar $(user_var: dir in/out))

section of code:


PageEx directory
DirVar $BCB Out
DirText "Where are your project files?" "Select a new folder if the default is wrong."
PageExEnd


i've even tried this:

PageEx directory
DirText "Where is C++ Builder Installed?" "Select a new folder if the default is wrong."
DirVar $BCB
PageExEnd


same error.

am I doing something wrong?

-tim

The correct usage is the second one. If it still gives you an error you've probably not defined $BCB using Var.

Var BCB

PageEx directory
DirVar $BCB
PageExEnd