From support@truebasic.com:

If you want to change the font size for the default output window from within your program, use

dim v(1)

LET v(1) = 12 ! New size

CALL Object (2, 0, "font size", "", v())

to change the actual font, use

dim v(1)

CALL Object (2, 0, "font name", "new font name", v())

where the new font name must be one that actually

exists on your computer.

to change the font style, such as bold, italic, etc., use

dim v(1)

CALL Object (2, 0, "font style", "bold", v())

the available styles are "bold", "plain", "italic" and

"bold italic"

Check it out!

SET COLOR "red"

BOX CIRCLE .2,.5,.4,.8 !left circle

BOX CIRCLE .5,.8,.4,.8 !right circle

PLOT AREA :.25,.45;.5,.1;.75,.45 !lower triangle

FLOOD .25,.55 ! color left

FLOOD .55,.55 !color right

PLOT AREA :.25,.60;.5,.25;.75,.60 ! fill in central blank

DIM v(1)

LET v(1) = 36 ! New size

CALL Object (2, 0, "font size", "", v())

DO while i<10

LET i=i+1

SET COLOR -i

PLOT TEXT, AT .28,.5:"Be my Valentine!"

PAUSE .2

LOOP

END

Further information from Weixing Zhou:

To: cgibson@ucsd.edu

Subject: Notes on Changing Font

Date: Tue, 25 Feb 2003 19:58:22 -0800

Dear Professor Gibson,

I checked my notes and found these:

CALL Object (method, id, attributes$, values$, values())

Method is between 0 and 26. The first several options are--OBJM_CREATE: Create an object or control

OBJM_COPY: Create a copy of an object or control

OBJM_SET: Set one or more attributes

OBJM_GET: Get one or more attributes

OBJM_SHOW: Show (make visible) an object or control

OBJM_ERASE: Hide an object or control

OBJM_FREE: Remove an object or control and free the memory

It's easy to figure out they are 0, 1, 2(which is OBJM_SET), 3......

id is the handle/id of the object/control. The id for the output screen is 0.

attribute$ is about the values need to be set or interrogated.

Additional string information is communicated through values$.

Additional numeric information is communicated through a numeric list values().

-----------------------

Weixing Zhou