home *** CD-ROM | disk | FTP | other *** search
- Routine : PROCdelay(seconds)
- Library : GenLib
- Purpose : Pauses for the given number of
- seconds
- Source : User
- Author : Paul Hobbs
- Parameters:
- seconds = the number of seconds to
- wait for
- Dependant Routines:
- None
- Global Variables:
- None
- Notes:
- A real number may be passed to the routine to
- pause for a decimal number of seconds, i.e.
- 1.5.
- Routine : PROCwait_for_key(code)
- Library : GenLib
- Purpose : Waits for the specified key to
- be pressed and then continues
- the program.
- Source : User
- Author : Paul Hobbs
- Parameters:
- code = the ASCII code of the key to
- wait for.
- Dependant Routines:
- None
- Global Variables:
- None
- Notes:
- None
- Routine : PROCdata_label_restore(label$)
- Library : GenLib
- Purpose : Searches through the main
- program and any loaded libraries
- for the given data string. This
- may be used to restore the DATA
- pointer to a specific group of
- DATA items.
- Source : Risc User
- Author : Lee Calcraft
- Parameters:
- label$ = string to search for among the
- DATA statements.
- Dependant Routines:
- None
- Global Variables:
- None
- Notes:
- The routine is used as follows: to read
- data items associated with the label
- dp_Manuf the program would look like this
-
- 10 PROCdata_label_restore("dp_Manuf")
- 20 REM DATA pointer now points to the
- following item
- 30 REM rest of program
- 40 END
- 50 :
- 60 DATA dp_Manuf
- 70 DATA Ford,11.4,Saab,27.3,BL,12.6
-
- This has the advantage of not requiring
- the use of line numbers and therefore the
- DATA statements may be included in a
- library file.
- Routine : PROCmem_move(source%,dest%,nr%)
- Library : GenLib
- Purpose : Copies one block of memory to
- another block.
- Source : User
- Author : Paul Hobbs
- Parameters:
- source% = the address to move data from
- dest% = the destination address
- nr% = the number of bytes to move
- Dependant Routines:
- None
- Global Variables:
- None
- Notes:
- The destination memory block must lie outside
- the source block as otherwise the source may be
- overwritten by the copied bytes. As it is
- written in BASIC the routine will be relatively
- slow for moving large amounts of memory.
-
-