Re: crash message in 4.0

new topic     » goto parent     » topic index » view thread      » older message » newer message
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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu