begin
  string (15) smaller
  string (63) larger

  ! The assignment below should be checked at runtime but not fail
  larger="A string"
  smaller = larger

  ! This should not need to be checked:
  larger = smaller

  ! The assignment below should fail at run time
  larger="A string that is longer than 15 but less than 63"
  smaller = larger

  ! This construct should (erroneously) allow the assignment, but maybe C's Undefined Behaviour checks will catch it at runtime...
  ! the STRING map which is declared as %string(*) is treated as if it were a %string(255).

! STRING(ADDR(smaller)) = larger   { however for the moment, this type of assignment is not being typecast properly in genc.c and so issues an error from C }

endofprogram