On Mon, 25 Oct 2021 07:00:27 -0700 (PDT)
ed de moel <
eddemoel@gmail.com> wrote:
There should not be any trailing characters.
Can you show the exact commands you are trying?
[code]
#!/usr/bin/mumps
; routine to illustrate the commands
; DO, GOTO, and QUIT
READ ; get date from the user
read !!,"First Number: ",First
if First="" quit
read !,"Second Number: ",Second
if Second="" quit
DO RESULTS
GOTO READ
RESULTS ; display the results to screen
write !?5,"Sum: ",First+Second
write !?5,"Product: ",First*Second
quit ; end of routine
[/code]
It works, but the GOTO command doesn't seem to work in my routine.
I messed up somewhere! Thx!!
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)