File:  [parser3project] / parser3 / tests / 413.html
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Fri Mar 15 19:16:20 2024 UTC (2 years, 2 months ago) by moko
Branches: MAIN
CVS tags: release_3_5_1, release_3_5_0, HEAD
test for object still can be used as file parameter (related to bug #1218)

@main[]
1. ^try-catch{ ^image::measure[ $.name[name] ] }
2. ^try-catch{ ^math:convert[ $.k[v] ](10;16) }
3. ^try-catch{ ^mail:send[
	$.from[from@parser3test]
	$.to[to@parser3test]
	$.print-debug(1)
	$.file[
		$.value(3)
	]
    ] }
4. ^try-catch{ ^image::measure[ ^TProxy::new[ $.name[name] ] ] }
5. ^try-catch{ ^json:string[ ^image::measure[ ^TProxy::new[ ^file::load[binary;395_dir/1.bmp] ] ] ] }

@CLASS
TProxy

@new[data]
$self._data[$data]

@GET[context]
$result[$self._data]

E-mail: