$param templates: Extend $param to automatically declare a new variable
Original Reporter info from Mantis: PascalDragon @PascalDragon
-
Reporter name: Sven Barth
Original Reporter info from Mantis: PascalDragon @PascalDragon
- Reporter name: Sven Barth
Description:
The new $param templates are a really nice feature, but they are missing a way to automatically declare a new (local?) variable (if necessary!), once the template is finialized.
Additional information:
Suggested functionality: execute (per Code) "Ctrl-Shift-C" on all $param values with e.g. "declare" in parameter, when the template is finalized (Enter is pressed).
Suggested usage with template "trycf":
$param(variable,declare) := $param(typename).Create;
try
|
finally
$param(variable,sync=1).Free;
end;
Mantis conversion info:
- Mantis ID: 14774
- Version: 0.9.29 (SVN)
- Monitored by: » @martin_frb (Martin Friebe)