Xref: utzoo comp.os.os9:291 comp.sys.m6809:974
Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!ukma!rutgers!bpa!temvax!pacsbb!aweiss
From: aweiss@pacsbb.UUCP (arnold  weiss)
Newsgroups: comp.os.os9,comp.sys.m6809
Subject: BASIC09 quirk
Keywords: byte
Message-ID: <497@pacsbb.UUCP>
Date: 7 Dec 88 06:03:20 GMT
Organization: PACS - Philadelphia Area Computer Society, Penna.
Lines: 20


         Page 11-108 of the level II Basic09 manual states that you can
pass a byte as a parameter --- page 11-145 states that you can NOT pass
a byte as a parameter.  To check which was true I wrote the following
procedures
PROCEDURE FLIP1
DIM number:BYTE
number=128
RUN FLIP2(number)

PROCEDURE FLIP2
PARAM number:BYTE
PRINT number

When I tried to run this from basic09 I got an error 056 (parameter error)
in PROCEDURE FLIP2.  Strangely when I packed the procedures they ran with-
out error.
IT seems as if the packed procedures treat the variable "number" as a one
element array.
Any helpful comments?