Re: SWITCH question

new topic     » goto parent     » topic index » view thread      » older message » newer message
petelomax said...

I think we you lot need to step back and focus on the C_HANDLE issue as raised in post #2. ...

Royal we?

On my 32-bit netbook there is no crash. Just different error messages as the arguments are moved about. On my 64-bit netbook I get the crash.

There is an additional rule that says the symbols must be different. Within one case you can have two different symbols with the same value:

-- docs say you can have a duplicate value in a case 
-- if the symbols are different 
 
constant H = 1 
constant P = 2 
constant HP = 2 
 
switch 1 do 
 
case H then 
 
case P , HP then 
 
end switch 
 
-- no error 

We thank you Pete

_tom

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

Search



Quick Links

User menu

Not signed in.

Misc Menu