Steven
Steven

Reputation: 172

String format - practice language - trace32

In the Trace32 language--Practice-- is there a command for formatting strings? I know of the format.hex() and format.decimal() commands but I have had no luck finding anything like a format.string()

Upvotes: 2

Views: 5031

Answers (2)

Shivakumar
Shivakumar

Reputation: 477

There are string functions available for Trace32. These can be found in the ide_func.pdf help document. Please find the string functions in the below link mentioned.

http://www2.lauterbach.com/pdf/ide_func.pdf

Hope this will be helpful.

Thanks, Shivakumar V W

Upvotes: 1

user3283035
user3283035

Reputation: 31

Try with:

FORMAT.STRING("string", 20, ' ' )  

-> "string" to be output, 20 is the length, ' ' is fill character

Upvotes: 3

Related Questions