06-02-2010, 12:27 AM
Strange...
Please try this:
BorIDE Diagnosis displays following text:
02:23:10 -> Compilation starts(8 Lines)
02:23:10 -> "C:\Program Files\Boriel Tm\ZX Basic Compiler\zxb.exe" "D:\Backup von C Neu\Coding\Retro-X (Sources)\sources\temp.bor" -S 24200 -t -B -a -o "D:\Backup von C Neu\Coding\Retro-X (Sources)\sources\Boride_Files\test16".tap -O 0
02:23:11 -> Exit code: 1
02:23:11 -> temp.bor:1: warning: Variable 'txtadr' declared as 'float'. Compilation failed
02:23:11 -> Compilation time: 672ms
I use ZX Basic Compiler version: zxb.exe 1.2.6-r1571
if you delete the @ character, it is even stranger...
02:25:38 -> Compilation starts(8 Lines)
02:25:38 -> "C:\Program Files\Boriel Tm\ZX Basic Compiler\zxb.exe" "D:\Backup von C Neu\Coding\Retro-X (Sources)\sources\temp.bor" -S 24200 -t -B -a -o "D:\Backup von C Neu\Coding\Retro-X (Sources)\sources\Boride_Files\test16".tap -O 0
02:25:38 -> Exit code: 1
02:25:38 -> temp.bor:1: warning: Variable 'PropPrintTxtadr' declared as 'float'. Compilation failed
02:25:38 -> Compilation time: 547ms
But without the Label and ASM code it does return the code 0...
Please try this:
Code:
poke uinteger @PropPrintTxtadr,txtadr
end
PropPrintTxtadr:
asm
text_addr:
DEFW test_text ; Addr of text
end asm
02:23:10 -> Compilation starts(8 Lines)
02:23:10 -> "C:\Program Files\Boriel Tm\ZX Basic Compiler\zxb.exe" "D:\Backup von C Neu\Coding\Retro-X (Sources)\sources\temp.bor" -S 24200 -t -B -a -o "D:\Backup von C Neu\Coding\Retro-X (Sources)\sources\Boride_Files\test16".tap -O 0
02:23:11 -> Exit code: 1
02:23:11 -> temp.bor:1: warning: Variable 'txtadr' declared as 'float'. Compilation failed
02:23:11 -> Compilation time: 672ms
I use ZX Basic Compiler version: zxb.exe 1.2.6-r1571
if you delete the @ character, it is even stranger...
02:25:38 -> Compilation starts(8 Lines)
02:25:38 -> "C:\Program Files\Boriel Tm\ZX Basic Compiler\zxb.exe" "D:\Backup von C Neu\Coding\Retro-X (Sources)\sources\temp.bor" -S 24200 -t -B -a -o "D:\Backup von C Neu\Coding\Retro-X (Sources)\sources\Boride_Files\test16".tap -O 0
02:25:38 -> Exit code: 1
02:25:38 -> temp.bor:1: warning: Variable 'PropPrintTxtadr' declared as 'float'. Compilation failed
02:25:38 -> Compilation time: 547ms
But without the Label and ASM code it does return the code 0...
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!