HP3000-L Archives

April 2005, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Peter Smithson <[log in to unmask]>
Reply To:
Peter Smithson <[log in to unmask]>
Date:
Mon, 25 Apr 2005 14:51:51 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (26 lines)
Thanks for the various replies.  I now have the ultimate Hello World program
with the obvious bug in the first one where I didn't have the text right!
(Using cut & paste from example code) Doh.

$CONTROL USLINIT
BEGIN
  INTRINSIC PRINT;
   BYTE ARRAY OUT(0:12);
   PRINT(OUT, -MOVE OUT:="Hello World!", 0);
END.

I don't get the warning on the PRINT now.

I don't understand why it expects a word array when the documentation -

http://docs.hp.com/en/32650-90821/ch04s177.html

says it's a "character array".  Isn't that a byte array?

Cheers

Peter

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2