[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

4358.0. "Amiga Basic and text." by HURON::MYERS () Fri Dec 14 1990 16:46

    I would like to change the font used by Amiga BASIC...
    does anyone know how to do this?  Also is it possible to change the
    color of the text for just one line?
    
    Eric
T.RTitleUserPersonal
Name
DateLines
4358.1Color? Yes! Fonts? Dunno...CRISTA::CAPRICCIOBlind as a cave shrimpMon Dec 17 1990 01:1229
>    I would like to change the font used by Amiga BASIC...
>    does anyone know how to do this?

    Check out the 'BasicDemos/Library' demo on the Extras disk; it's got an
    example of a SetFont library call. Maybe you can get it to work with
    another font besides Topaz (I didn't have any luck). There's a brief
    discussion of this demo in the Amiga BASIC manual in the Advanced
    Topics section (chapter 6).

>    Also is it possible to change the color of the text for just one line?

    That one I can help you with; here's an example to change the text
    color for just one line:

      COLOR 3,1 : PRINT "orange text on a white background" : COLOR 1,0

            ^ ^
            | +--- background color
            +----- foreground color

      where 0, 1, 2, 3 = blue, white, black, orange respectively

    This is assuming you're using the default WB 1.3.n colors. Take a look
    at the COLOR and PALETTE statement descriptions in the reference
    section of the manual.

    Hope this helps,

    Pete
4358.2CursorDICKNS::MACDONALDVAXELN - Realtime Software PubsMon Dec 17 1990 12:594
    
    How about changing the text cursor? Can this be done. The programs I've
    written all have a vertical bar for a cursor. I'd like to be able to
    change the color and shape.
4358.3Abacus is a good sourceCSC32::A_ANDERSONDTN 592-4170 NSU/VAXMon Dec 17 1990 21:147
    Invest in the Abacus books on the Amiga Tricks and Tips and the Amiga
    Basic inside and out.  This has all the routines you need and more.
    
    Also Computes second book of Amiga has quite a few handy routines.
    
    Alan