]> Creatis software - bbtk.git/blob - packages/std/bbs/boxes/bbPrependDataPath.bbs
ColourDialog -> ColourSelector
[bbtk.git] / packages / std / bbs / boxes / bbPrependDataPath.bbs
1 load std
2
3 define PrependDataPath std
4   author "jpr@creatis.insa-lyon.fr"
5   description "Prepends the input string file 'last name' with the default DataPath found in bbtk_config_xml"
6   category "misc"
7
8   # For getting default Data Path
9   new Configuration c
10   
11   # For making a full path name, avoiding troubles with / or \
12   new MakeFileName mfn
13   
14   connect c.DataPath mfn.Directory
15   
16   # used in GUI mode (-g option)
17   input  In   mfn.File "Last Filename"
18   output Out mfn.Out   "Full path Filename"
19 endefine
20