DEFSEG

Format

DEFSEG = number1

Description

This function is used to alter the default data segment used when peeking and poking data with PEEK and POKE statements. DEFSEG, PEEK, and especially POKE are not recommended for beginners. If number1 =-1, then the data segment address is set back to the ASIC default data segment address.

Example

DEFSEG = -1
Execution of the above statement would reset the default data segment to the default ASIC data segment.

See Also

  • PEEK
  • POKE
  • BLOAD
  • BSAVE