Jump to content

Recommended Posts

Here are some more examples.

Local $sFileName = "test11.txt"

$aa = 0x1234
IniWrite($sFileName, "aa", "aa", '"0x' & Hex($aa, 4) & '"')

;Or

FileWrite($sFileName, ' Or' & @CRLF & '"0x1234"') ; Write "0x1234" to file.

; Display file
$Pid = ShellExecute($sFileName)

; Tidy up file
ProcessWaitClose($Pid)
FileDelete($sFileName)

; Or another StringFormat example:-
ConsoleWrite(StringFormat('"0x%X"', $aa) & @CRLF) ; Returns "0x1234"

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...