PowerHouse (programming language): Difference between revisions

Content deleted Content added
Addbot (talk | contribs)
m Bot: Removing {{Stub}} (Report Errors)
Line 23:
Simple QUICK screens could be generated in as few as four lines of source code:
 
SCREEN <screenname>
FILE <filename>
 
GENERATE
FILE <filename>
GO
 
GENERATE
 
GO
 
<screenname> was the name of the screen that the programmer assigned to the program. <filename> was the file name to be accessed in the data dictionary. Whether the items in the file would all fit in the screen would be determined by how many items and the size of them. If they didn't all fit, the program would have to be modified to eliminate unneeded items, change the size of items to some other size, etc. But, for a file with only a couple of items in it, it is quick and easy to generate a screen for data entry, deletion, or to simply look up data by an index.
Line 35 ⟶ 32:
Simple QUIZ reports were almost as easy. A one-file report was as simple as:
 
ACCESS <filename>
REPORT ALL
 
GO
REPORT ALL
 
GO
 
All items in the file would be sent to the screen, maybe not in the most desired fashion, but that simple.
Line 49 ⟶ 44:
Commands could be abbreviated to the first three characters when writing source code. ACCESS could be abbreviated to ACC, as well as DEFine, REPort, SCReen, etc.
 
QUIZ reports could be routed to a printer, screen, or ASCII text files with the <tt>SET REPORT DEVICE <printer> <screen> <disk> </tt>command.
 
Given the right access and commands, a novice could write simple report programs. Just as dangerous, though, the same novice could easily destroy the data as there was no security to whether one can call up any of the interpreters. If you had access to QUIZ, you also had access to QTP and QUICK.