Products
CDBF - DBF Viewer and Editor
DBF Viewer/Editor, text-mode
DBF Viewer/Editor for Linux
DBF Viewer/Editor for DOS
DBF reanimator
CDBFlite
CDBFAPI
¤ DBF Script
CDBFinfo
CDBFShell
CDBFview
DBF to CSV Converter
CSV to DBF Converter
DBF to XLS Converter
XLS to DBF Converter
DBF to MDB Converter
MDB to DBF Converter
DBF to SQL Converter
DBF to XML Converter
DBF to DBF Converter
MDB to XLS Converter
CSV to XLS Converter
DBF to HTML Converter
DBF to PDB Converter
PDB to DBF Converter
Excel Library
Access Recovery
Excel Recovery
Online Database Converter
DBF Converters' Shell
WhiteTown Software CD

Data types

Internally DBF Script operates with the Variant type and is based on it.
Nevertheless, you can use the following predetermined types in your scripts:
Byte      | Same as Integer type
Word      |
Integer   |
Longint   |
Cardinal  |
TColor    |

Boolean   | Boolean type

Real      | Same as Extended type
Single    |
Double    |
Extended  |
TDate     |
TTime     |
TDateTime |

Char      | Char type

String    | String type

Variant   | Same as Variant type
Pointer   |

Array     | Array type

C++Script maps some types to standard types:


int, long = Integer
void = Integer
bool = Boolean
float = Extended

JScript has no types, all types are variants. BasicScript may have types (for example, dim i as Integer), or may have no types and even no variable declaration. In this case a variable will have Variant type.

Not all of these types can be assign-compatible. Like in Object Pascal, you can't assign Extended or String to an Integer. Only one type - the Variant - can be assigned to all the types and can get value from any type. Except the built-in types you can use the enumerated types defined in your application or in add-in modules (for example after adding the TfsGraphicsRTTI component you can use TPenMode, TFontStyles and other types).

General
Overview
Main Window
Menu File
Menu View
Menu Edit
Dialog Options
Menu Script
Menu Help
How to buy
Command line
Language Reference
Script structure
Data types
Classes
Functions
Events
Enumerations, Sets and Arrays
Pascal
C++
Java Script
Visual Basic
Functions
OpenBase
CloseBase
RecCount
FieldCount
ReadRecord
WriteRecord
FieldNumber
GetStr
GetValue
IsMemoField
IsDigitalField
IsCurrentDeleted
IsDeleted
ClearRecord
ClearField
SetValue
MarkDeleted
RecallRecord
DeleteRecord
AppendRecord
InsertRecord
SortBase
RemoveSort
SetFilter
RemoveFilter
Pack
Zap
Write
Writeln
StopScript
GetFileType
GetRecordLength
GetFieldName
GetFieldType
GetFieldSize
GetFieldFloat
NewDatabase
AddField
CreateDatabase
CreateAndOpenDataBase
RecordToCSV
SetCodepage
ParamCount
ParamStr

Related Links
Help file
Screen shots
Video tutorials

Copyright © WhiteTown Software, 1996-2012 | Privacy policy | Site map