Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Webfocus Code behavior

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Webfocus Code behavior
 Login/Join
 
Gold member
posted
Hi,
Is webfocus checks the code line by line or takes the whole code and compiles it


WebFOCUS 7.7.02(Production)
WebFOCUS 7.7.02(Test region)
Oracle backend (10g)and Windows Frontend.
HTML,PDF,EXL2K,FLEX,AHTML
 
Posts: 68 | Registered: June 07, 2007Report This Post
<ludo>
posted
I think WF compile and execute all the code before -RUN so if you put several -RUN in your code each time there's a -RUN the stack is emptied and the code executed. If you don't put a -RUN I presume that WF compile and run the entire fex in one time.

Hope I'm right and it helps you
Ludo
 
Report This Post
Virtuoso
posted Hide Post
Suji,
This is the most important thing to understand when writing FOCUS code:
When you run a FOCUS program, the program is loaded. FOCUS then reads each line. Those lines starting with a '-' sign - Dialog Manager commands - are executed immediately. The others are sent to the FOCSTACK. When FOCUS encounters one of the 3, end of program, -EXIT or -RUN, control is given to the command processor who reads from the FOCSTACK, check, interprets and executes. There is no real compilation.
When a -RUN is encountered, the FOCSTACK is executed and then control returns to the FOCEXEC at the line following the -RUN.

I hope this clarifies your understanding.


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Virtuoso
posted Hide Post
In the mainframe lingo, FOCUS code is interpreted not compiled. One disadvantage of that is that sometimes you fix an error and then the next one shows up. The one thing I don't like about the language.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Webfocus Code behavior

Copyright © 1996-2020 Information Builders