Difference between revisions of "User:SharkD"

From POV-Wiki
Jump to navigation Jump to search
m (follow ups)
(move disucssion to Talk)
Line 1: Line 1:
 
[http://isometricland.com/povray/povray.php My POV-Ray-related page.]
 
[http://isometricland.com/povray/povray.php 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 <em>some</em> of your requests are already available in version 3.7
 
 
*FOR loops
 
:[[Documentation:Reference Section 2.5#The #for Directive|The #for Directive]]--[[User:Jholsenback|jholsenback]] 20:32, 4 June 2010 (UTC)
 
 
*BREAK statements inside loops
 
:[[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)
 
:::* 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 ++
 
*Binary operators +=, -=, /=, *=, etc.
 
*Double == in conditions
 
:Not all but some are already implemented. See: [[Documentation:Reference Section 2#Operators|Operators]]
 
:and [[Documentation:Reference Section 2.3#String Relational Operators|String Relational Operators]]--[[User:Jholsenback|jholsenback]] 20:32, 4 June 2010 (UTC)
 
 
*ELSEIF statements
 
:[[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)
 
:::*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
 
*Multi-type arrays
 
*Expandable arrays
 
:*There may be an appropriate news group for mentioning these others items.--[[User:Jholsenback|jholsenback]] 20:32, 4 June 2010 (UTC)
 
 
*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)
 
::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.
 
 
*ARGS variable in macros to support optional parameters.
 

Revision as of 05:40, 25 July 2010