HTBasic Help
×
Menu
Index

Locating a Numeric Variable

 
READIO(9827, variable-name ) is used to locate a numeric variable or an element of an array. This operation is useful in connection with assembly language subroutines because it allows you to identify the starting address of the subroutine so that the subroutine may be called with the WRITEIO statement.
 
10 INTEGER A(0:5)
20 Address = READIO(9827,A(0))
30 PRINT "The address of A(*) is ";Address