EasyManuals Logo

Tandy 1000 Basic Reference Manual

Default Icon
411 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #176 background imageLoading...
Page #176 background image
Chapter
10
I
BASIC
Keywords
HEX$
Function
HEX$(nurnber)
Calculates the hexadecimal value
of
number.
HEX$ returns a string that represents the hexadecimal value of
number.
Since the value returned is like any other string, you
cannot use it in
a
numeric expression. You cannot add hex
strings; however, you can concatenate them.
Examples
PRINT
HEX$<30), HEX$<50), HEXtC90)
prints the following strings lE,
32,
and
5A.
Y$
=
HEX$<X/16)
Y$
is the hexadecimal string representing the integer quotient
Xl16.
174

Table of Contents

Other manuals for Tandy 1000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tandy 1000 and is the answer not in the manual?

Tandy 1000 Specifications

General IconGeneral
ProcessorIntel 8088
Processor Speed4.77 MHz
RAM128 KB (expandable to 640 KB)
Operating SystemMS-DOS 2.11
ManufacturerTandy Corporation
Release Year1984
StorageSingle or double 5.25" floppy disk drive (360 KB), optional hard drive
SoundTandy 3-voice sound
PortsParallel, Serial
GraphicsCGA (Color Graphics Adapter)
Graphics Modes320x200, 640x200

Related product manuals