Block bracket (brace) matching
Posted: Wed Mar 10, 2004 2:55 am
I find that in a language such as UNIFACE, there is no function/block enclosures. eg...
the above is using the "{" - "}" braces to enclose the block. In TP, when sitting on one of the enclosures, then pressing <CTRL>-M your cursor is placed on the opposing enclosure.
This is not possible in a language such as UNIFACE where there is no such thing a these types of enclosures.
So, What I do, is this....
this way, I can utilize the block matching bueaty of TP in UNIFACE proc. Note that the enclosures are simply commented out.
Code: Select all
function myfunc (){
blah
}
This is not possible in a language such as UNIFACE where there is no such thing a these types of enclosures.
So, What I do, is this....
Code: Select all
entry LP_MYPROCENTRY ; {
if ($status > 0) ;{
do some stuff
else ;} ;{
do some other stuff
endif ;}
end ; LP_MYPROCENTRY ; }