Re: goto: it's conceded

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

CChris wrote:
> 
> 
> You know, with some added smarts, the scanner could tell whether an identifier
> can be used as a variable or might be a keyword. This won't work with a
> limited
> set of keywords (return is the most obvious), but who would name a variable
> "return"?
> 

Even if it can, I'm not sure it would be the best thing to do:

sequence label
label "hello"
puts(1, label)


just looks a tad strange to me. Sure, you can figure it out, but I do not think
it leads to ease of learning or use.

label is somewhat of a generic name... For instance:

label = "Hello"


label of what? for what? a button? a text field? a label you print on barcode?

--
Jeremy Cowgar
http://jeremy.cowgar.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu