Post Reply 
An assortment of 71B questions
04-13-2021, 05:16 PM
Post: #15
RE: An assortment of 71B questions
(04-13-2021 03:20 PM)Dave Britten Wrote:  I was tinkering with user-defined functions last night, and it seems you can CALL a SUB from inside a function, but only within the program file that contains the function. So that rules out the possibility of having a program file full of SUBs and putting small wrapper functions in other programs that call those SUBs.

Another quickie: Is there a way to list the commands/keywords/functions in any given LEX file? I faintly recall seeing some way to do that, but can't recall what it was.

#1 - I'm not sure if it's what you're looking for, but look at the MYSUBS program in Joe's Titan File Collection, available here.

#2 - The file HLPLEX is just what you're looking for. There are several commands included, but the simplest and most common form is "HELPF MYLEX" which will display all the keywords (and associated argument types) found in the LEX file MYLEX.

HLPLEX is in the OLDP, but note there is no E in the beginning of the filename HLPLEX.

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: An assortment of 71B questions - rprosperi - 04-13-2021 05:16 PM



User(s) browsing this thread: 1 Guest(s)