Re: routine keyword

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

Can someone remind me what the "routine" reserved keyword is for?

I can't find anything in the manual, apart from the list of reserved words.
It's listed in keywords.e, reswords.e, and in parser.e as part of {"enum", "label", "break", "case", "fallthru", "routine"} under "if OE4 then".

Edit:

ticket 770 said...

4. Comment by ne1uno Jun 08, 2012
routine is also a reserved word for possible future use.

After allowing function return results to be ignored, there was some discussion (though nothing was made certain or final) about OE 5.0 dropping the procedure/function distinction altogether and just having routine...end routine.

A major and still unresolved question is what should happen when one attempts to use the return value of a routine that does not return a value.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu