Post reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.
Name:
Email:
Subject:
Message icon:

Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?:

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: K4thos
« on: April 18, 2015, 07:57:31 AM »

thanks, it does work. Worth documenting in readme, imo. Maybe even adding binary support ;D
Posted by: Wisp
« on: April 18, 2015, 06:41:44 AM »

It's undocumented, but there is SPRINTF. I suppose it is not ridiculous enough to warrant being cut, which means I'll have to document it.

Code: [Select]
OUTER_PATCH 1 BEGIN
  SPRINT str "This is a string"
  SET n = 16
  SPRINTF var "%s %x %d" ("%str%" n n)
  PATCH_PRINT "%var%"
END
Posted by: K4thos
« on: April 17, 2015, 07:38:29 AM »

As title suggest for debug purposes I'd like to print some values in HEX format and not decimal. Is it possible in current weidu? If not than I'd like to request this feature.