9.0

127
Description
Return the cosine.
Parameter Description
Num Return the cosine of this numeric value. This is the number of radians. There are 2*Pi
radians in a full circle.
Example
Sub Main
Debug
.Print Cos(1) ' 0.54030230586814
End
Sub
CreateObject Function
Syntax
CreateObject(Class$)
Group
Object
Description
Create a new object of type Class$. Use Set to assign the returned object to an object variable.
Parameter Description
Class$ This string value is the application's registered class name. If this application is not
currently active it will be started.
See Also: Objects.
Example
Sub Main
Dim
App As Object
Set
App = CreateObject("WinWrap.CppDemoApplication")
App.Move 20,30 ' move icon to 20,30
Set
App = Nothing
App.Quit ' run-time error (no object)
End
Sub
CSng Function
Syntax
CSng(Num|$)
Group
Conversion