when I write the code like this which just gets the hex number of files and put it on a memory file to be made as text I always get a 0x0 at the end of the converted decimal number.
Code: Select all
log MEMORY_FILE 0 0
get FILENUM long
put FILENUM string MEMORY_FILE
get SIZE ASIZE MEMORY_FILE2
log test.txt 0 SIZE MEMORY_FILE2
I plan on getting the value of the number of files, the value of dialog id convert it to decimal and also rip some text strings to the output file.
I'm trying to do something like this as the output file
10 <--- file number
01 Hello there. <--- dialog ID and text
02 I'm a noob\natdoing this thing. <--- dialog ID and text
03 thanks for the help.