Version History

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(Sputnik 0.22 @ 003-21-2014 05:54 AM)
Line 30: Line 30:
 
* When a DLLStruct is created all its allocated memory is now zeroed out automatically
 
* When a DLLStruct is created all its allocated memory is now zeroed out automatically
 
* When you use char* and wchar* in DLLStructs it will free the previous one when it writes to the address again if you do not wish this freeing behaviour you must manually zero out the pointer by writing a null pointer to the address
 
* When you use char* and wchar* in DLLStructs it will free the previous one when it writes to the address again if you do not wish this freeing behaviour you must manually zero out the pointer by writing a null pointer to the address
* Added several math constants
+
* Added @LOG2E // Log(@E, 2) = 1.4426950408889634074
@LOG2E // Log(@E, 2) = 1.4426950408889634074
+
* Added @LOG10E // Log10(@E) = 0.43429448190325182765
 
+
* Added @LN2 // Log(2) = 0.69314718055994530942
@LOG10E // Log10(@E) = 0.43429448190325182765
+
* Added @LN10 // Log(10) = 2.30258509299404568402
 
+
* Added @PI_2 // @PI/2 = 1.57079632679489661923
@LN2 // Log(2) = 0.69314718055994530942
+
* Added @PI_4 // @PI/4 = 0.78539816339744830962
 
+
* Added @1_PI // 1/@PI = 0.31830988618379067154
@LN10 // Log(10) = 2.30258509299404568402
+
* Added @2_PI // 2/@PI = 0.63661977236758134308
 
+
* Added @SQRTPI // Sqrt(@PI) = 1.77245385090551602729
@PI_2 // @PI/2 = 1.57079632679489661923
+
* Added @2_SQRTPI // 2/Sqrt(@PI) = 1.12837916709551257390
 
+
* Added @SQRT2 // Sqrt(2) = 1.4142135623731
@PI_4 // @PI/4 = 0.78539816339744830962
+
* Added @SQRT3 // Sqrt(3) = 1.73205080756887729352
 
+
* Added @SQRT1_2 // 1/Sqrt(2) = 0.70710678118654752440
@1_PI // 1/@PI = 0.31830988618379067154
+
* Added @LNPI // Log(@PI) = 1.14472988584940017414
 
+
* Added @EULER // Euler constant = 0.57721566490153286061
@2_PI // 2/@PI = 0.63661977236758134308
+
 
+
@SQRTPI // Sqrt(@PI) = 1.77245385090551602729
+
 
+
@2_SQRTPI // 2/Sqrt(@PI) = 1.12837916709551257390
+
 
+
@SQRT2 // Sqrt(2) = 1.4142135623731
+
 
+
@SQRT3 // Sqrt(3) = 1.73205080756887729352
+
 
+
@SQRT1_2 // 1/Sqrt(2) = 0.70710678118654752440
+
 
+
@LNPI // Log(@PI) = 1.14472988584940017414
+
 
+
@EULER // Euler constant = 0.57721566490153286061
+
 
+
 
* Added IsSet() it works the same as PHPs it will also call __IsSet() of a class when used on a variable containing a class
 
* Added IsSet() it works the same as PHPs it will also call __IsSet() of a class when used on a variable containing a class
 
* Array indexes no longer get set when you aren't using = so just doing if($a['Test']) will no longer create the element 'Test' to do that you must use like $a['Test'] = "Hello" this is better since there is no chance of elements appearing magically with no idea where they came from
 
* Array indexes no longer get set when you aren't using = so just doing if($a['Test']) will no longer create the element 'Test' to do that you must use like $a['Test'] = "Hello" this is better since there is no chance of elements appearing magically with no idea where they came from

Revision as of 21:55, 11 August 2014

Contents

Sputnik 0.22 @ 003-21-2014 05:54 AM

Whats New

Sputnik 0.21 @ 09-28-2013 05:26 PM

Whats New

Sputnik 0.20 @ 09-19-2013 10:58 PM

Whats New

Sputnik 0.19 @ 09-16-2013 10:25 PM

Whats New

Sputnik 0.18 @ 09-12-2013 01:42 AM

Whats New

>>> Read about Sprintf here <<<

$a = array(); $a[0] = "blah"; $a[1] = $a;

println("C:\\"); // Where as this would fail <-- No longer fails

Added new LINQ function From() Added new LINQ function AndFrom() Added new LINQ function NotFrom() Added new LINQ function Where() Added new LINQ function WhereNot() Added new LINQ function AndWhere() Added new LINQ function AndWhereNot() Added new LINQ function Size() Added new LINQ function OrderBy() Added new LINQ function OrderByDescending() Added new LINQ function OrderByAscending() Added new LINQ function First() Added new LINQ function FirstOrDefault() Added new LINQ function Last() Added new LINQ function LastOrDefault() Added new LINQ function Any() Added new LINQ function All() Added new LINQ function Invert() Added new LINQ function Select() (Note - The LINQ stuff is just a test and may or may not be removed later and/or moved to the Lib folder who knows)

Sputnik 0.17 @ 08-29-2013 05:49 PM

Whats New

Sputnik 0.16 @ 08-25-2013 07:56 AM

Whats New

Sputnik 0.15 @ 08-25-2013 01:15 AM

Whats New

(Since arrays in Sputnik are dynamic like PHP you could have a LBound at 6 and UBound at 200 however running Order() function will move the indexes to start from 0 alternatively Unshift() will also do that and of course Count() will return the total amount of elements)

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox