Nested variables

Post variable and regex related tips, questions.

Nested variables

Postby Jamie » Tue Jan 30, 2007 1:33 pm

Nested variables have been supported in 7.23. Only 1 nested variable can be read in a single field.

Single level nested variables are allowed using the format
$%....NEST-[nested_variable]-NESTEND...%$

examples : 

1) $%FILE::DATE::pp-dd-YY_mm-hh-ss::NEST-fileMon::FilePath-NESTEND%$ gets the date modified time for the file path found in the variable 'fileMon::FilePath'.

2) $%FILE::DATE::pp-dd-YY_mm-hh-ss::c:\test\NEST-fileMon::FileName-NESTEND%$ gets the date modified time for the file found in the variable 'fileMon::FileName'.
Jamie
Site Admin
 
Posts: 115
Joined: Mon Aug 14, 2006 8:16 am

Return to Variables and Regular Expressions

Who is online

Users browsing this forum: No registered users and 3 guests

cron