Overview
| Artifact ID: | caa4eeb8de3cd6b065ad5c38cf4ec44fb0074b61 |
|---|---|
| Ticket: | 792990ffffffffffffffffffffffffffffffffff
Redirect file output into variables |
| User & Date: | elfring on 2003-08-22 07:47:05 |
Changes
- assignee changed to: "vincentdarley"
- cmimetype changed to: "text/plain"
- comment changed to:
The PHP programming language provides output control functions (http://de.php.net/manual/en/ref.outcontrol.php, e. g. "ob_get_contents"). I would like to use similar functionality with TCL. 1. http://tcl.tk/man/tcl8.4/TclCmd/open.htm I suggest to add a parameter that specifies a variable name. open $fileName $access $permissions $varName or open -var $Name $fileName $access $permissions 2. http://tcl.tk/man/tcl8.4/TclCmd/fconfigure.htm I suggest to add an interceptor and options to switch the output into variables on and off on the fly. fconfigure -setvar $Name $channelId fconfigure -stopvar $Name $channelId fconfigure -getcontents Buffer $channelId
- foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "elfring"
- subsystem changed to: "37. File System"
- title changed to: "Redirect file output into variables"
- type changed to: "RFE"