Procedure END - < proc_def_end > ... [Pro]
Procedure END |
||||||||||||||||||||||||||||||
This command defines the end of procedure. |
||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||
Example (Macro Steps):
|
||||||||||||||||||||||||||||||
|
Example (Plain Text):
<#> This example shows how to use procedures
<cmds>
<proc_def_begin>(AddQuotes,"parStringInput", "&parStringOutput&")
<varset>("parStringOutput=%_vQuoteChar%%parStringInput%%_vQuoteChar%","")
<proc_def_end>
<proc_def_begin>(ConvertToUpper,"parStringInput","&parStringOutput&")
<var_oper>(parStringOutput,"%parStringInput%",STR_UPPER,"2","", "0")
<proc_def_end>
<varset>("vMyText=","Insert text you want to convert to upper case and enclose to quotes:")
<if_str>("_vCanceled==1")<#>
<exitmacro><#>
<endif>
<proc_call>(ConvertToUpper,"%vMyText%", "vMyText" )
<proc_call>(AddQuotes,"%vMyText%", "vMyText" )
<msg>(-100,-100,"%vMyText%","Result",1,0,0,0)