A89: Re: Assembly-89 Digest V1 #775


[Prev][Next][Index][Thread]

A89: Re: Assembly-89 Digest V1 #775




There is a program in Ticalc.org's BASIC archives that simulates a small
print command on the graph screen with the full set of small print
characters in image form.  I think its called Smalltxt.zip.

Also, I know someone else already went over this slightly, but I think
you missunderstand what a string is.  The output commands expect the
argument to be a string so in order to print an expression, you must
enclose the expression in a String() function to convert it into a
string.

-Alan


------------------------------
     Webpage- http://www.bigfoot.com/~mastermind5
     Get paid to surf the web-
           http://www.alladvantage.com/go.asp?refid=cww952
           http://www.gotoworld.com/getpaid/default.asp?rid=1028769125
           http://www.epipo.com/signup_form.asp?mastermind5

Original Message:

Date: Sat, 9 Oct 1999 16:01:50 -0400
From: "Scott Noveck" <noveck@pluto.njcc.com>
Subject: Re: A89: pxltext, pttext, output

>hi,please help me.  i am trying to make a game is basic
>and i cannot figure out how to print expr in the graph
>screen.  ouput can print the expr but only on program
>i/o screen.  the other two commands pxltext and pttext
>don't print expr except for the string.  i'd really
>appreciate it if someone can tell me how to print a
>expr value in graph screen.

use pxltext x,y,string(expr) -- pxltext only takes strings.

>  one more thing, how can i
>print small text?

In BASIC, it's just small text on the graph screen and larger in the I/O
and
home screens, I'm not sure what dialog boxes use where.  You have no
control
over it. . .

>  and also, how to make a new matrix
>from within program with dimension 20 by 20.

newMat(20,20)->mat will do it, if you want values already in it you can
use
this and replace the 1's with the proper values.  Each nested list is one
row:

[[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1][1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1
,1,1,1][1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1][1,1,1,1,1,1,1,1,1,1,1,1,
1,1
,1,1,1,1,1,1][1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1][1,1,1,1,1,1,1,1,1,
1,1
,1,1,1,1,1,1,1,1,1][1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1][1,1,1,1,1,1,
1,1
,1,1,1,1,1,1,1,1,1,1,1,1][1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1][1,1,1,
1,1
,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1][1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1][
1,1
,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1][1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
,1,
1][1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1][1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
,1,
1,1,1,1][1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1][1,1,1,1,1,1,1,1,1,1,1,1
,1,
1,1,1,1,1,1,1][1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1][1,1,1,1,1,1,1,1,1
,1,
1,1,1,1,1,1,1,1,1,1][1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]]

>p.s. i have read the manual and can't seem to figureout how.thanks.

It's all there. . . hope this helps.

    -Scott


___________________________________________________________________
Get the Internet just the way you want it.
Free software, free e-mail, and free Internet access for a month!
Try Juno Web: http://dl.www.juno.com/dynoget/tagj.