Re: crash message in 4.0
- Posted by jeremy (admin) Aug 17, 2008
- 907 views
bernie said...
This is the section of code executing crash message
op = opcodes[1] - OPERAND
if op < 1 or op > length(table) then crash("unknown instruction") end if </eucode>
Yes. Were you expecting something else? Maybe you can do something like:
crash(sprintf("unknown instruction: %d", { op }))
Also, when you are formatting blocks of non-code on the wiki, you can use three left french brackets on it's own line, then your block of code, then three right french brackets. If you say Reply with Quote, you can see this formatting:
This is a block of something that needs to keep it's formatting exactly. Noticed I did not have to use any \\ or any other formatting.
Jeremy