{{tag>category:"OpenInsight 32-Bit" author:"Dietrich Neuman" author:"Bob Orsini"}}
[[https://www.revelation.com/the-works|Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community]]
==== Calling TCL commands from BASIC+ (OpenInsight 32-Bit) ====
=== At 04 NOV 2010 12:36:35PM Dietrich Neuman wrote: ===
I'm aware that the AREV RBASIC command PERFORM is no longer supported in the OpenInsight environment. But is there any way to call a TCL "interpreter" from BASIC+? Perhaps a way to instantiate a process that an app's code can submit TCL commands to? If not, is there anything like this in the works for future versions of OI, to support legacy applications?
I've got a pretty good sized, pretty old (early 1990's) AREV application that I'm converting to use an up-to-date OpenInsight UI. The app contains a lot of PERFORM calls, some of which are straightforward to translate to BASIC+ calls. But most PERFORM commands I'm not sure what to do about - the TCL commands are undocumented, or documented as taking different parameters, or matching commands defined in are VOC table that are confusing, undocumented, or seemingly wrong.
----
=== At 15 NOV 2010 08:48AM Bob Orsini wrote: ===
Dietrich
The TCL interpreter is designed to operate with the TCL command window at this time. There is nothing available today to replicate the perform command in AREV and nothing in the works as of now. However there is a service performed by WinWinSolutions that converts these programs and reformats the Perform commands to a suitable OI command along with other AREV specific commands. Please check with Bob Catalano if interested.
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=WORKS_READ&SUMMARY=1&KEY=C23D320829F4CA34852577D1005B3DB3|View this thread on the Works forum...]]