The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Origin C
 general origin routines
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

ben_at_work

Germany
Posts

Posted - 09/06/2006 :  09:02:38 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 70
Operating System: win2000

Hello again.

Is there a possibility to watch the routines or the C-code
Origin executes in the background, when I push any button of
the toolbars?
In this way it would be easier for me to understand the
changed C-language, which Origin uses.

Thank you.
Ben

Mike Buess

USA
3037 Posts

Posted - 09/06/2006 :  10:53:21 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Ben,

Toolbar buttons and menu commands execute either internal routines or LabTalk code. (Of course the LT code can call Origin C functions.) If you press the Ctrl+Shift keys while selecting a button or menu item its menuID will print to the script window if it's open. You can then duplicate the action of the button or menu item with the menu -e menuID command. If the button or menu item runs a section of an OGS file the file will also open at that section in Codebuilder.

Another method is to enter echo=7 in the script window which will cause all LabTalk commands to be printed to the script window as they occur. This will slow execution and clutter the script window but is often useful. Use echo=1 to report only errors and echo=0 to disable reporting.

Mike Buess
Origin WebRing Member
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000