User talk:SharkD

From POV-Wiki
Jump to navigation Jump to search

Language Feature Requests

You posted this in the Question and Tips area of the KB, sorry that's not the correct place for that, and you should have a look at the documentation as some of your requests are already available in version 3.7

  • FOR loops
The #for Directive--jholsenback 20:32, 4 June 2010 (UTC)
  • BREAK statements inside loops
The #switch, #case, #range and #break Directives has been modified to handle breaks in loops now.--jholsenback 20:32, 4 June 2010 (UTC)
SWITCH statements are not loops. Examples of loops are the WHILE and FOR statements. SharkD 22:58, 9 June 2010 (UTC)
  • You DIDN'T read far enough. I was referring you to the change in the #break behavior. See the Note: section just past the first pre-formatted text (blue) box. --jholsenback 03:10, 10 June 2010 (UTC)
  • Unary operators -- and ++
  • Binary operators +=, -=, /=, *=, etc.
  • Double == in conditions
Not all but some are already implemented. See: Operators
and String Relational Operators--jholsenback 20:32, 4 June 2010 (UTC)
  • ELSEIF statements
The #if...#else...#end Directives--jholsenback 20:32, 4 June 2010 (UTC)
Don't see ELSEIF mentioned anywhere. SharkD 22:58, 9 June 2010 (UTC)
  • OK I'll give you that one, but #switch can emulate that behavior. --jholsenback 03:10, 10 June 2010 (UTC)
  • Hash arrays
  • Multi-type arrays
  • Expandable arrays
  • There may be an appropriate news group for mentioning these others items.--jholsenback 20:32, 4 June 2010 (UTC)
  • A system variable to test whether a file has been included or not, or even inclusion depth
The #ifdef and #ifndef Directives--jholsenback 20:32, 4 June 2010 (UTC)
IFDEF and IFNDEF are statements. They are not variables. SharkD 22:58, 9 June 2010 (UTC)
  • Yes of course I realize that ... set and Identifier to either true/false and use these directives to test --jholsenback 03:10, 10 June 2010 (UTC)
  • Explicit RETURN statement in macros.
  • ARGS variable in macros to support optional parameters.