Difference between revisions of "User:SharkD"

From POV-Wiki
Jump to navigation Jump to search
m (follow ups)
Line 10: Line 10:
 
:[[Documentation:Reference Section 2.5#The #switch, #case, #range and #break Directives|The #switch, #case, #range and #break Directives]] has been modified to handle breaks in loops now.--[[User:Jholsenback|jholsenback]] 20:32, 4 June 2010 (UTC)
 
:[[Documentation:Reference Section 2.5#The #switch, #case, #range and #break Directives|The #switch, #case, #range and #break Directives]] has been modified to handle breaks in loops now.--[[User:Jholsenback|jholsenback]] 20:32, 4 June 2010 (UTC)
 
::SWITCH statements are not loops. Examples of loops are the WHILE and FOR statements. [[User:SharkD|SharkD]] 22:58, 9 June 2010 (UTC)
 
::SWITCH statements are not loops. Examples of loops are the WHILE and FOR statements. [[User:SharkD|SharkD]] 22:58, 9 June 2010 (UTC)
 +
:::* You DIDN'T read far enough. I was referring you to the change in the <code>#break</code> behavior. See the <strong>Note:</strong> section just past the first pre-formatted text (blue) box. --[[User:Jholsenback|jholsenback]] 03:10, 10 June 2010 (UTC)
  
 
*Unary operators -- and ++
 
*Unary operators -- and ++
Line 20: Line 21:
 
:[[Documentation:Reference Section 2.5#The #if...#else...#end Directives|The #if...#else...#end Directives]]--[[User:Jholsenback|jholsenback]] 20:32, 4 June 2010 (UTC)
 
:[[Documentation:Reference Section 2.5#The #if...#else...#end Directives|The #if...#else...#end Directives]]--[[User:Jholsenback|jholsenback]] 20:32, 4 June 2010 (UTC)
 
::Don't see ELSEIF mentioned anywhere. [[User:SharkD|SharkD]] 22:58, 9 June 2010 (UTC)
 
::Don't see ELSEIF mentioned anywhere. [[User:SharkD|SharkD]] 22:58, 9 June 2010 (UTC)
 +
:::*OK I'll give you that one, but <code>#switch</code> can emulate that behavior. --[[User:Jholsenback|jholsenback]] 03:10, 10 June 2010 (UTC)
  
 
*Hash arrays
 
*Hash arrays
Line 28: Line 30:
 
*A system variable to test whether a file has been included or not, or even inclusion depth
 
*A system variable to test whether a file has been included or not, or even inclusion depth
 
:[[Documentation:Reference Section 2.5#The #ifdef and #ifndef Directives|The #ifdef and #ifndef Directives]]--[[User:Jholsenback|jholsenback]] 20:32, 4 June 2010 (UTC)
 
:[[Documentation:Reference Section 2.5#The #ifdef and #ifndef Directives|The #ifdef and #ifndef Directives]]--[[User:Jholsenback|jholsenback]] 20:32, 4 June 2010 (UTC)
:::IFDEF and IFNDEF are statements. They are not variables. [[User:SharkD|SharkD]] 22:58, 9 June 2010 (UTC)
+
::IFDEF and IFNDEF are statements. They are not variables. [[User:SharkD|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 --[[User:Jholsenback|jholsenback]] 03:10, 10 June 2010 (UTC)
  
 
*Explicit RETURN statement in macros.
 
*Explicit RETURN statement in macros.
  
 
*ARGS variable in macros to support optional parameters.
 
*ARGS variable in macros to support optional parameters.

Revision as of 03:10, 10 June 2010

My POV-Ray-related page.

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.