Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

converting values to string in quickbms

Featured Replies

  • Author
  • Localization

Shokoniraya, posted Sun Jun 09, 2019 9:35 am (48609)


i want to know how can i convert a string to value (hex-decimal)
for example: i read a number in a xml file (this is the xml part: )
i read 20 with getdstring, but how can i convert to decimal? (decimal, i mean \x14)

and how can i convert a decimal to string for output to file? (convert \x14 to 20 for output file)
  • Author
  • Localization

aluigi, posted Sun Jun 09, 2019 10:01 am (48611)


Strings and numbers are quite abstract in quickbms.
Your variable can be already used as a number but if you want to be 100% sure try the following:
math VAR = VAR
or
set VAR long VAR # not suggested as far as I remember
  • Author
  • Localization

aluigi, posted Sun Jun 09, 2019 10:02 am (48612)


When working with output filenames I suggest to use the Printf operator of String:
string NAME p "%d" VAR
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.