Page 2 of 2

Posted: Sun Feb 24, 2008 9:18 pm
by DoubleDutch
Peyman: Nice code, you should contribute more often. :)

Re: Better commentedASM

Posted: Sun Feb 24, 2008 9:23 pm
by Peyman
PB wrote:I've been using this successfully for months. Not originally my code, but
I shortened it to the following form. Just select it from the Tools menu
when a source is present and voila! :)

Code: Select all

; Compile to an executable and add to the PureBasic 'Tools' Menu.
; Set 'Arguments' in the 'Tools' menu to "%TEMPFILE" (include the ").

pb$=#PB_Compiler_Home
RunProgram(pb$+"Compilers\PBCompiler.exe",Chr(34)+ProgramParameter()+Chr(34)+" /COMMENTED",pb$+"Compilers",1|2)
RunProgram("Notepad.exe",Chr(34)+pb$+"Compilers\PureBasic.asm"+Chr(34),pb$)
Ok this is work successfully, but you can't say Notepad is a good Editor. My commentedASM Create by Scintilla and you can see and edit Your assembly code colorful.

Sorry For my bad english writing

Posted: Wed Feb 27, 2008 11:49 pm
by va!n
having problems to get this work, when using a big project with some include files... any idea how to solve this problem and showing the ASM output (mainfile with all include files? thanks

i solved the problem. thx