-
Notifications
You must be signed in to change notification settings - Fork 2
Functions
twinBASIC includes many built-in functions that simplify common tasks such as string manipulation, mathematical operations, and data type conversion. Functions return a value.
- CBool
- CByte
- CCur
- CDate
- CDbl
- CDec
- CInt
- CLng
- CLngLng (Valid on 64-bit platforms only.)
- CLngPtr
- CSng
- CStr
- CVar
- Date
- DateAdd
- DateDiff
- DatePart
- DateSerial
- DateValue
- Day
- Hour
- IsDate
- Minute
- Month
- MonthName
- Now
- Second
- Time
- Timer
- TimeSerial
- TimeValue
- Weekday
- WeekdayName
- Year
- InStr
- InStrRev
- Join
- LBound
- LCase
- Left
- Len
- Loc
- LOF
- [LTrim, RTrim, and Trim](#LTrim, RTrim, and Trim)
- Mid
- Replace
- Right
- Seek
- Split
- StrComp
- StrConv
- String
- StrReverse
- UCase
- Array
- CallByName
- Choose
- Command
- CreateObject
- DDB
- DoEvents
- Environ
- Error
- Filter
- GetAllSettings
- GetAttr
- GetObject
- GetSetting
- IIf
- IMEStatus
- Input
- InputBox
- MacID
- MacScript
- MIRR
- MsgBox
- Partition
- QBColor
- RGB
- Round
- Shell
- SLN
- Space
- Spc
- Switch
- SYD
- Tab
- TypeName
- UBound
- VarType
The Abs Function method...
The Array Function method...
The Asc Function method...
The Atn Function method...
The CallByName Function method...
The Choose Function method...
The Chr Function method...
The Command Function method...
The Cos Function method...
The CreateObject Function method...
The CurDir Function method...
The CVErr Function method...
The Date Function method...
The DateAdd Function method...
The DateDiff Function method...
The DatePart Function method...
The DateSerial Function method...
The DateValue Function method...
The Day Function method...
The DDB Function method...
The Dir Function method...
The DoEvents Function method...
The Environ Function method...
The EOF Function method...
The Error Function method...
The Exp Function method...
The FileAttr Function method...
The FileDateTime Function method...
The FileLen Function method...
The Filter Function method...
The Format Function method...
The FormatCurrency Function method...
The FormatDateTime Function method...
The FormatNumber Function method...
The FormatPercent Function method...
The FreeFile Function method...
The FV Function method...
The GetAllSettings Function method...
The GetAttr Function method...
The GetAutoServerSettings Function method...
The GetObject Function method...
The GetSetting Function method...
The Hex Function method...
The Hour Function method...
The IIf Function method...
The IMEStatus Function method...
The Input Function method...
The InputBox Function method...
The InStr Function method...
The InStrRev Function method...
The Int, Fix Functions method...
The IPmt Function method...
The IRR Function method...
The IsArray Function method...
The IsDate Function method...
The IsEmpty Function method...
The IsError Function method...
The IsMissing Function method...
The IsNull Function method...
The IsNumeric Function method...
The IsObject Function method...
The Join Function method...
The LBound Function method...
The LCase Function method...
The Left Function method...
The Len Function method...
The LoadPicture Function method...
The LoadResData Function method...
The LoadResPicture Function method...
The LoadResString Function method...
The Loc Function method...
The LOF Function method...
The Log Function method...
The LTrim, RTrim, and Trim Functions method...
The Math Functions method...
The Mid Function method...
The Minute Function method...
The MIRR Function method...
The Month Function method...
The MonthName Function method...
The MsgBox Function method...
The Now Function method...
The NPer Function method...
The NPV Function method...
The Oct Function method...
The Partition Function method...
The Pmt Function method...
The PPmt Function method...
The PV Function method...
The QBColor Function method...
The RandomFill Property method...
The Rate Function method...
The rdoColumns Property method...
The rdoConnections Property method...
The rdoDefaultCursorDriver Property method...
The rdoDefaultErrorThreshold Property method...
The rdoDefaultLoginTimeout Property method...
The rdoDefaultUser, rdoDefaultPassword Properties method...
The rdoEnvironments Property method...
The rdoErrors Property method...
The rdoLocaleID Property method...
The rdoParameters Property method...
The rdoQueries Property method...
The rdoResultSets Property method...
The rdoTables Property method...
The rdoVersion Property (Remote Data) method...
The ReadOnly Property method...
The ReadOnly Property (Data Access) method...
The ReadOnly Property (Remote Data) method...
The ReadOnlyMode Property method...
The RecipAddress Property method...
The RecipCount Property method...
The RecipDisplayName Property method...
The RecipIndex Property method...
The RecipType Property method...
The RecordCount Property method...
The RecordMode Property (Multimedia MCI Control) method...
The RecordSelectors Property method...
The Recordset Property method...
The Recordset Property (ADO Data Control) method...
The RecordSetReturning Property method...
The RecordsetType Property method...
The RecordSource Property method...
The RecordSource Property (ADO Data Control) method...
The Rect Property method...
The Red Property method...
The Redraw Property method...
The References Property method...
The ReferencesEvents Property method...
The RelateToParent Property method...
The RemoteHost Property (ActiveX Controls) method...
The RemoteHostIP Property method...
The RemotePort Property (ActiveX Controls) method...
The Repaint Property method...
The RepeatedControl Property method...
The RepeatedControlName Property method...
The RepeaterBindings Property method...
The Replace Function method...
The ReportIcon Property method...
The ReportWidth Property method...
The Request Property method...
The RequestEdit Property method...
The RequestTimeout Property method...
The Required Property method...
The Required Property (DEDesigner Extensibility) method...
The RescanReplacements Property method...
The Response Property method...
The ResponseCode Property method...
The ResponseInfo Property method...
The Restartable Property method...
The Resultset Property method...
The ResultsetType Property method...
The RetainedProject Property method...
The Revision Property method...
The RGB Function method...
The Right Function method...
The RightMargin Property method...
The RightToLeft Property method...
The RightToLeft Property (ActiveX Controls) method...
The RightToLeft Property (CheckBox Control) method...
The RightToLeft Property (ComboBox Control) method...
The RightToLeft Property (CommandButton Control) method...
The RightToLeft Property (Data Control) method...
The RightToLeft Property (DataCombo Control) method...
The RightToLeft Property (DataGrid Control) method...
The RightToLeft Property (DataList Control) method...
The RightToLeft Property (DataRepeater Control) method...
The RightToLeft Property (DBCombo Control) method...
The RightToLeft Property (DBList Control) method...
The RightToLeft Property (Frame Control) method...
The RightToLeft Property (Grid Control) method...
The RightToLeft Property (HFlexGrid Control) method...
The RightToLeft Property (HScrollBar Control) method...
The RightToLeft Property (Label Control) method...
The RightToLeft Property (ListBox Control) method...
The RightToLeft Property (MSFlexGrid Control) method...
The RightToLeft Property (OptionButton Control) method...
The RightToLeft Property (PictureBox Control) method...
The RightToLeft Property (TextBox Control) method...
The Rnd Function method...
The Root Property (Node Object) method...
The RootFolder Property method...
The Rotation Property method...
The Round Function method...
The Row Property (MSChart) method...
The RowCount Property (Coolbar Control) method...
The RowCount Property (MSChart) method...
The RowCount Property (Remote Data) method...
The RowDividerStyle Property method...
The RowDividerStyle Property (DataRepeater Control) method...
The RowExpandable, RowExpanded Properties (MSHFlexGrid) method...
The RowHeight Property method...
The RowHeight Property (MSHFlexGrid) method...
The RowHeightMin Property method...
The RowIndicator Property method...
The RowIsVisible Property method...
The RowLabel Property (DataGrid) method...
The RowLabel Property (MSChart) method...
The RowLabelCount Property method...
The RowLabelIndex Property method...
The RowMember Property method...
The RowPos Property method...
The Rows Property (SSTab Control) method...
The RowsAffected Property method...
The RowsetSize Property method...
The RowSizingMode Property (MSHFlexGrid) method...
The RowSource Property method...
The RThreshold Property method...
The RTSEnable Property method...
The RunPassword Property method...
The RunPromptBehavior Property method...
The RunSaveAuthentication Property method...
The RunUserName Property method...
The Second Function method...
The Seek Function method...
The Sgn Function method...
The Shell Function method...
The Sin Function method...
The SLN Function method...
The Space Function method...
The Spc Function method...
The Split Function method...
The Sqr Function method...
The Str Function method...
The StrComp Function method...
The StrConv Function method...
The String Function method...
The StrReverse Function method...
The Switch Function method...
The SYD Function method...
The Tab Property (SSTab Control) method...
The TabAcrossSplits Property method...
The TabAction Property method...
The TabCaption Property (SSTab Control) method...
The TabEnabled Property (SSTab Control) method...
The TabFixedHeight, TabFixedWidth Properties method...
The TabHeight Property (SSTab Control) method...
The TabIndex Property method...
The TabMaxWidth Property (SSTab Control) method...
The TabMinWidth Property method...
The TabOrientation Property (SSTab Control) method...
The TabPicture Property (SSTab Control) method...
The Tabs Property (SSTab Control) method...
The Tabs Property (TabStrip Control) method...
The TabsPerRow Property (SSTab Control) method...
The TabStop Property method...
The TabStyle Property method...
The TabVisible Property (SSTab Control) method...
The TabWidthStyle Property method...
The Tag Property method...
The Tag Property (ActiveX Controls) method...
The TagPrefix Property method...
The Target Property method...
The TargetObject Property method...
The TaskVisible Property method...
The Template Property method...
The TemplatePath Property method...
The Text Property method...
The Text Property (ActiveX Controls) method...
The Text Property (MaskedEdit Control) method...
The Text Property (MSChart) method...
The Text Property (MSHFlexGrid) method...
The TextAlign Property method...
The TextAlignment Property method...
The TextArray Property method...
The TextBackground Property method...
The TextLayout Property method...
The TextLength Property method...
The TextLengthType Property method...
The TextMatrix Property method...
The TextPosition Property method...
The TextRTF Property method...
The TextStyle, TextStyleBand, TextStyleFixed, TextStyleHeader Properties (MSHFlexGrid) method...
The ThreadID Property method...
The Tick Property method...
The TickFrequency Property method...
The TickStyle Property method...
The TimeFormat Property (Multimedia MCI Control) method...
The Title Property method...
The Title Property (DataReport Object) method...
The Title Property (MSChart) method...
The TitleBackColor, TitleForeColor Properties method...
The TitleText Property method...
The To Property (Multimedia MCI Control) method...
The ToolboxBitmap Property method...
The ToolTipText Property method...
The ToolTipText Property (ActiveX Controls) method...
The Top Property method...
The TopIndex Property method...
The TopLine Property method...
The TopRow Property (MSHFlexGrid) method...
The TotalSize Property method...
The Track Property (Multimedia MCI Control) method...
The TrackDefault Property method...
The TrackLength Property (Multimedia MCI Control) method...
The TrackPosition Property (Multimedia MCI Control) method...
The Tracks Property (Multimedia MCI Control) method...
The TrailingForeColor Property method...
The Transactions Property (Remote Data) method...
The TrueValue Property method...
The TwipsPerPixelX, TwipsPerPixelY Properties method...
The Type Property (DEDesigner Extensibility) method...
The Type Property (File Object, Folder Object) method...
The Type Property (Format Objects) method...
The Type Property (MSChart) method...
The Type Property (Picture) method...
The Type Property (Remote Data) method...
The Type Property (VBA Add-In Object Model) method...
The UBound Function method...
The UCase Function method...
The Weekday Function method...
The WeekdayName Function method...
The Year Function method...