[phix] number niggle

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

( Using 8.3 preview )

'number' as an alias for 'atom' is nice for a beginner's tutorial, but

number number = 3 
? number 
--> 3 

You can use 'number' as an identifier!


number number = 3 
number count = 0 
//       ^ '=' expected 

Explaining this error to a beginner is tough!

I generated a warning. Explaining warnings to a beginner is also tough.

    number number = prompt_number(prompt) 
           ^Warning: assumed to be a variable_id, not a type 

be well
_tom

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

Search



Quick Links

User menu

Not signed in.

Misc Menu