GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Download
  • News
  • Community
  • Resources
  • Language Reference
  • SmallBASIC Manual

This view

  • Original page
  • New address

GeezerVison is showing smallbasic.github.io — SmallBASIC | TXTH

Edit History

TXTH

n = TXTH (s)

Home > Reference > Graphics

Returns the text height of string s in pixel.

TXTHEIGHT is equivalent to TXTH.

Example

print txth("Hello world")      ' Output: 19
Code samples using TXTH
100lines.bas   2048.bas   3d rotating cube with message.bas   analog clock.bas   anball 1.0.bas   angel feather.bas   arc_ui.bas   biorythms.bas   blackbox.bas   Blackbox.bas   bowling7.bas   bplus paddleball.bas   btn 21.bas   Calendar.bas   calendar.bas   clock.bas   clock.bas   coordplot.bas   dmsareaplot.bas   draw button test.bas   Euro_calculator.bas   evdemo.bas   filemanager.bas   fire demo.bas   follow me.bas   gaptest.bas   graphics sampler.bas   gridareaplot.bas   GUI RPSLS v2.bas  
Graphics
ARC   CHART   CIRCLE   COLOR   DRAW   DRAWPOLY   IMAGE   LINE   PAINT   PEN   PLOT   POINT   PSET   RECT   RGB   RGBF   SHOWPAGE   TEXTHEIGHT   TEXTWIDTH   TXTH   TXTW   VIEW   WINDOW   XMAX   XPOS   YMAX   YPOS  
This page was last edited on Thu, 31 Aug 2023 22:58:12 +0200 | Markdown processed with pandoc 3.1.12.1
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.