File:  [parser3project] / parser3 / tests / 364.html
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Mon Nov 21 20:19:55 2016 UTC (9 years, 7 months ago) by moko
Branches: MAIN
CVS tags: release_3_5_1, release_3_5_0, release_3_4_6, release_3_4_5, HEAD
$caller usage in different contexts now tested (related to feature #1110)

@main[][local]
$result(true)
$result[^print[]]

@print[arg]

object/string: $caller

expression: ^try-catch{^eval($caller)}

hash: ^try-catch{$h[^hash::create[$caller]] ^json:string[$h]}

table: ^try-catch{^table::create[$caller]}

def: ^try-catch{^if(def $caller){true}{false}}

bool: ^try-catch{^if($caller || 0){true}{false}}

double: ^try-catch{^eval($caller + 0)}

E-mail: