Forums: Forum of Decimal BASIC (Thread #39358)

MAT PRINT with USING and PRINTER (2018-03-18 11:37 by toml12953 #80969)

I'm trying to use a MAT PRINT USING with an IMAGE and an open PRINTER channel.
I can't seem to get the syntax right.
I've tried:

OPEN #1: PRINTER
! DIM and other code goes here
!
!
2 IMAGE: ## ## ## ##
MAT PRINT #1: USING 2:A
MAT PRINT USING 2: #1:A
END

Is it possible to print to the printer with a USING clause? If so what is the exact syntax?

Reply to #80969×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: MAT PRINT with USING and PRINTER (2018-03-18 23:09 by toml12953 #80973)

[Reply To Message #80969]
> I'm trying to use a MAT PRINT USING with an IMAGE and an open PRINTER channel.
> I can't seem to get the syntax right.
> I've tried:
>
> OPEN #1: PRINTER
> ! DIM and other code goes here
> !
> !
> 2 IMAGE: ## ## ## ##
> MAT PRINT #1: USING 2:A
> MAT PRINT USING 2: #1:A
> END
>
> Is it possible to print to the printer with a USING clause? If so what is the exact syntax?

I think I got it!

MAT PRINT #1, USING 2:A

works.
Reply to #80969

Reply to #80973×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login