<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://pickwiki.org/index.php?action=history&amp;feed=atom&amp;title=HelpForUniverse</id>
	<title>HelpForUniverse - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://pickwiki.org/index.php?action=history&amp;feed=atom&amp;title=HelpForUniverse"/>
	<link rel="alternate" type="text/html" href="https://pickwiki.org/index.php?title=HelpForUniverse&amp;action=history"/>
	<updated>2026-04-28T23:32:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://pickwiki.org/index.php?title=HelpForUniverse&amp;diff=1869&amp;oldid=prev</id>
		<title>Conversion script: link fix</title>
		<link rel="alternate" type="text/html" href="https://pickwiki.org/index.php?title=HelpForUniverse&amp;diff=1869&amp;oldid=prev"/>
		<updated>2015-02-26T23:48:55Z</updated>

		<summary type="html">&lt;p&gt;link fix&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Back to [[BasicSource]]&lt;br /&gt;
&lt;br /&gt;
When using the HELP command in Universe at the console on an NT machine, the screen cannot be addressed, so the output is useless.  This help follows (almost) the command syntax for the Universe help, but the output is more like the Unidata help.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
     PROGRAM UVHELP&lt;br /&gt;
* ECL - KRJ - [[UniVerse]] help that works when the screen addressing doesn&amp;#039;t&lt;br /&gt;
&lt;br /&gt;
     SENTENCE = TRIM(@SENTENCE)&lt;br /&gt;
     CONVERT &amp;#039; &amp;#039; TO @AM IN SENTENCE&lt;br /&gt;
     IF OCONV(SENTENCE&amp;lt;1&amp;gt;,&amp;#039;MCU&amp;#039;) = &amp;#039;RUN&amp;#039; THEN&lt;br /&gt;
        DEL SENTENCE&amp;lt;1&amp;gt;&lt;br /&gt;
        DEL SENTENCE&amp;lt;1&amp;gt;&lt;br /&gt;
     END&lt;br /&gt;
     DEL SENTENCE&amp;lt;1&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     IF OCONV(SENTENCE&amp;lt;2&amp;gt;,&amp;#039;MCU&amp;#039;) = &amp;#039;FROM&amp;#039; THEN&lt;br /&gt;
        CLASS = SENTENCE&amp;lt;3&amp;gt;&lt;br /&gt;
        TOPIC = SENTENCE&amp;lt;1&amp;gt;&lt;br /&gt;
        IF CLASS = &amp;#039;&amp;#039; THEN CLASS = &amp;#039;SYS.HELP&amp;#039;&lt;br /&gt;
     END ELSE&lt;br /&gt;
        CLASS = SENTENCE&amp;lt;1&amp;gt;&lt;br /&gt;
        TOPIC = SENTENCE&amp;lt;2&amp;gt;&lt;br /&gt;
        IF TOPIC = &amp;#039;&amp;#039; THEN&lt;br /&gt;
           TOPIC = CLASS&lt;br /&gt;
           CLASS = &amp;#039;SYS.HELP&amp;#039;&lt;br /&gt;
        END&lt;br /&gt;
     END&lt;br /&gt;
&lt;br /&gt;
     GOT.CLASS = @TRUE&lt;br /&gt;
     DISP = CLASS&lt;br /&gt;
     OPEN CLASS TO HELP.FILE ELSE GOT.CLASS = @FALSE&lt;br /&gt;
     IF NOT(GOT.CLASS) AND FIELD(CLASS,&amp;#039;.&amp;#039;,2) NE &amp;#039;HELP&amp;#039; THEN&lt;br /&gt;
        DISP = CLASS:&amp;#039;.HELP&amp;#039;&lt;br /&gt;
        OPEN DISP TO HELP.FILE ELSE&lt;br /&gt;
           CRT &amp;#039;Cannot open &amp;quot;&amp;#039;:CLASS:&amp;#039;&amp;quot;&amp;#039;&lt;br /&gt;
           STOP&lt;br /&gt;
        END&lt;br /&gt;
     END&lt;br /&gt;
&lt;br /&gt;
     HEADLINE = &amp;#039;Help information for &amp;quot;&amp;#039;:DISP:&amp;#039; &amp;#039;:TOPIC:&amp;#039;&amp;quot;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
     READ REC FROM HELP.FILE,TOPIC ELSE&lt;br /&gt;
        CRT &amp;#039;No information available for &amp;#039;:TOPIC&lt;br /&gt;
        STOP&lt;br /&gt;
    * commented out following - was  trying to cater for stuff not being there&lt;br /&gt;
    *    EXECUTE &amp;#039;SSELECT HELP.FILE&amp;#039; CAPTURING JUNK&lt;br /&gt;
    *    REC = &amp;#039;&amp;#039;&lt;br /&gt;
    *    LOOP WHILE READNEXT ID DO&lt;br /&gt;
    *       REC&amp;lt;-1&amp;gt; = ID&lt;br /&gt;
    *    REPEAT&lt;br /&gt;
     END&lt;br /&gt;
&lt;br /&gt;
     PLEN = SYSTEM(3)-3&lt;br /&gt;
     LINES = DCOUNT(REC,@AM)&lt;br /&gt;
     PAGES = INT(LINES[[/PLEN]]) + (REM(LINES,PLEN) NE 0)&lt;br /&gt;
&lt;br /&gt;
     SPACES = 80-LEN(HEADLINE)&lt;br /&gt;
     SPACES = INT(SPACES/2)&lt;br /&gt;
     SPACES = SPACE(SPACES)&lt;br /&gt;
     HEADLINE = SPACES:HEADLINE:SPACES&lt;br /&gt;
     HEADLINE = HEADLINE[1,69]:&amp;#039; Page: &amp;#039;&lt;br /&gt;
&lt;br /&gt;
     PAGE = 1&lt;br /&gt;
     LOOP&lt;br /&gt;
        IF PAGE GT PAGES THEN PAGE = PAGES&lt;br /&gt;
        CRT @(-1):HEADLINE:PAGE:&amp;#039;/&amp;#039;:PAGES&lt;br /&gt;
        CRT&lt;br /&gt;
        BOT = ((PAGE-1)*20) + 1&lt;br /&gt;
        MSUP = BOT + PLEN - 1&lt;br /&gt;
        FOR XX = BOT TO MSUP&lt;br /&gt;
           CRT REC&amp;lt;XX&amp;gt;&lt;br /&gt;
        NEXT XX&lt;br /&gt;
        CRT&lt;br /&gt;
        LOOP&lt;br /&gt;
           GOOD = @TRUE&lt;br /&gt;
           CRT &amp;quot;Page &amp;#039;U&amp;#039;p, &amp;#039;D&amp;#039;own, &amp;#039;T&amp;#039;op, &amp;#039;B&amp;#039;ottom or &amp;#039;Q&amp;#039;uit &amp;quot;:&lt;br /&gt;
           INPUT ANS&lt;br /&gt;
           ANS = OCONV(TRIM(ANS),&amp;#039;MCU&amp;#039;)&lt;br /&gt;
           BEGIN CASE&lt;br /&gt;
              CASE ANS = &amp;#039;T&amp;#039; ; PAGE = 1&lt;br /&gt;
              CASE ANS = &amp;#039;B&amp;#039; ; PAGE = PAGES&lt;br /&gt;
              CASE ANS = &amp;#039;U&amp;#039;&lt;br /&gt;
                 PAGE = PAGE - 1&lt;br /&gt;
                 IF PAGE LT 1 THEN PAGE = 1&lt;br /&gt;
              CASE ANS = &amp;#039;D&amp;#039; OR ANS = &amp;#039;&amp;#039;&lt;br /&gt;
                 PAGE = PAGE + 1&lt;br /&gt;
              CASE ANS MATCHES &amp;#039;1[[N0N]]&amp;#039;&lt;br /&gt;
                 PAGE = ANS&lt;br /&gt;
              CASE ANS = &amp;#039;Q&amp;#039; ; STOP&lt;br /&gt;
              CASE 1&lt;br /&gt;
                 GOOD = @FALSE&lt;br /&gt;
           END CASE&lt;br /&gt;
        UNTIL GOOD DO&lt;br /&gt;
           CRT &amp;quot;Invalid entry &amp;#039;&amp;quot;:ANS:&amp;quot;&amp;#039; --- Must be &amp;#039;U&amp;#039;, &amp;#039;D&amp;#039;, &amp;#039;T&amp;#039;, &amp;#039;B&amp;#039; or &amp;#039;Q&amp;#039;&amp;quot;&lt;br /&gt;
        REPEAT&lt;br /&gt;
     REPEAT&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
</feed>