; -------------------------------------------------------------------------------- ; @Title: Casting demo ; @Description: ; ; This batchfile demonstrates how to cast variables to other types for ; viewing. It also shows how to view memory regions as different types ; of variable. ; ; It uses a dialog to get options from the user before executing the ; appropriate commands. ; ; The script is designed to be re-entrant so it can be called again to ; run one of the sub routines and update the dialog; this prevents it ; from being forced MODAL and allows the rest of the TRACE32 interface ; to continue running. ; ; @Keywords: PRACTICE, variable formatting, casting, Dialog, WinTABS, re-entrant ; @Props: Template ; @Author: RIC ; @Copyright: (C) 1989-2021 Lauterbach GmbH, licensed for use with TRACE32(R) only ; -------------------------------------------------------------------------------- ; $Id: variable_casting.cmm 17628 2021-04-23 14:26:40Z rweiss $ LOCAL &label ENTRY %LINE &label IF "&label"!="" ( ; If the script is called with arguments: ; DO