Skip to content

title: "BcdPrint" description: TRSE built-in method (from IDE help)


BcdPrint

Systems: C64, MEGA65, PLUS4, C128, VIC20, PET, NES, OK64
Parameters: a,n


BcdPrint( [address 1],[number] );

  • [address 1] - The address of the BCD number
  • [number] - The length of the BCD in bytes

Description

Prints the BCD number at the current screenaddress memory location.

Example

var score: array[] of byte = ($12,$34,$56); // number is 563412 begin DefineScreen(); screenmemory := screen_char_loc; BcdPrint( score, 3 ); // displays 563412 on the screen