Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Panel )INIT question 1

Status
Not open for further replies.

schtuffseeker

Technical User
Aug 22, 2002
11
US
I have been unsuccessful in finding much documentation for the )INIT section of a panel definition. I am wanting to do some security checking before allowing access to the panel. Could someone point me in the direction of some documentation or explain the basic format of the IF statement and/or the system variables available in the )INIT section.
Any help would be appreciated.
 
Hi schtuffseeker,

Your question is a bit broad. You can do more or less what you want in the Init Section of a panel. The basic format of an IF statement is ..

Code:
[blue]IF ([i]condition[/i])
    [i]action if true[/i]
ELSE
    [i]action if false[/i][/blue]

.. and it is indentation-sensitive.

From memory, if you want to suppress display of a panel, subject to whatever checks you make, you code something like ..

Code:
[blue].RESP = ENTER[/blue]

.. and the Proc Section will be executed immediately after the Init Section finishes.

Enjoy,
Tony

--------------------------------------------------------------------------------------------
We want to help you; help us to do it by reading this: Before you ask a question.
 
Thank you both, Marc and Tony, for your guidance and sharing of your knowledge. While I haven't yet accomplished what I wanted, I believe I now have the resources to get there.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top