Introduction |
Overview |
Technical Support |
Other Resources |
Reference |
User Interface |
Language Overview |
Files |
Namespaces |
Session and Environment Variables |
Programming Language |
FOR ... TO ... STEP ... NEXT |
DO ... UNTIL |
DO ... ENDDO |
WHILE ... WEND |
WITH ... ENDWITH |
IF ... THEN ... ELSE ... ENDIF |
SELECT CASE ... CASE n ... ENDSELECT |
AND/OR/NOT |
MOD |
Operators |
Line Continuation |
Predefined Constants |
HANDLE Type |
INTEGER Type |
MODULE Type |
REAL Type |
REFERENCE Type |
STRING Type |
$INCLUDE Statement |
$LIBRARY Statement |
ALIAS Statement |
BEEP Statement |
BREAK Statement |
BYREF Statement |
BYVAL Statement |
CALL Statement |
CLS Statement |
COLOR Statement |
CONST Statement |
DECLARE Statement |
DIM Statement |
END Statement |
ERROR Statement |
EVENT Statement |
EXIT Statement |
FONT Statement |
FUNCTION Statement |
GOSUB Statement |
INPUT Statement |
LET Statement |
LIB Statement |
LOAD Statement |
ON EVENT |
ON TIMER |
OPTION BASE |
OPTION BREAK |
OPTION CONTEXT |
OPTION ENVIRONMENT |
OPTION EXPLICIT |
OPTION FORMAT |
OPTION GARBAGE |
OPTION MODULE |
OPTION NEW |
OPTION REDIM |
OPTION STACK |
OPTION TRACE |
OPTION VERSION |
OPTION WINPUMP |
PRINT Statement |
PUBLIC Statement |
RETURN Statement |
SCREEN Statement |
SHELL Statement |
SLEEP Statement |
STOP Statement |
SUB Statement |
SWAP Statement |
TIMER Statement |
TRACE Statement |
UNLOAD Statement |
UNREF Statement |
File and Directory Statements |
CHDIR |
COPY |
KILL |
MKDIR |
NAME |
RMDIR |
Error Handling |
ON ERROR GOTO label |
ON ERROR RESUME NEXT |
ON ERROR GOTO 0 |
RESUME NEXT |
RESUME label |
Functions |
ABS |
ACOS |
ADDERR |
ASC |
ASIN |
ATAN |
BASE |
BLUE |
CAST |
CEIL |
CHR |
COMPILED |
COS |
DATE |
DIREXISTS |
ENVIRONMENT |
ERR |
ERRL |
ERRM |
EVENTID |
EXP |
FILEEXISTS |
FILENAME |
FIX |
FLOOR |
FORMAT |
GREEN |
HEX |
IIF |
INKEY$ |
INT |
ISLOADED |
ISREF |
LEFT |
LEN |
LOG |
LOWER |
MAX |
MID |
MIN |
MODULE |
NEW |
NUM |
PI |
RED |
REF |
RGB |
RIGHT |
RND |
ROUND |
RUN |
RUNS |
SCOPE |
SESSION |
SGN |
SIN |
SIZE |
SPAN |
SPAWN |
SPAWNS |
SQR |
STR |
TAN |
TIME |
TYPE |
UPPER |
VAL |
VARNAME |
VERSION |
Extension Libraries |
C3D Library |
Constants |
C3D.close |
C3D.create_par |
C3D.delete_par |
C3D.get_3d_point |
C3D.get_3d_point_arr |
C3D.get_ad_chan |
C3D.get_ad_chan_arr |
C3D.get_error_message |
C3D.get_fh_item |
C3D.get_filename |
C3D.get_modified |
C3D.get_options |
C3D.get_par_item |
C3D.get_par_name |
C3D.get_par_value |
C3D.get_shared |
C3D.is_c3d |
C3D.new |
C3D.open |
C3D.par_exists |
C3D.put_3d_point |
C3D.put_ad_chan |
C3D.put_fh_item |
C3D.put_modified |
C3D.put_par_item |
C3D.put_par_value |
C3D.refresh |
C3D.save |
C3DFile Library |
Constants |
C3DFile.Attach |
C3DFile.Close |
C3DFile.Create |
C3DFile.CreateParameter |
C3DFile.Export |
C3DFile.GetAnalog |
C3DFile.GetAnalogFrameRate |
C3DFile.GetAnalogName |
C3DFile.GetAnalogNo |
C3DFile.GetDescription |
C3DFile.GetFID |
C3DFile.GetFirstFrame |
C3DFile.GetFrameRate |
C3DFile.GetNoOfAnalogs |
C3DFile.GetNoOfFrames |
C3DFile.GetNoOfPoints |
C3DFile.GetParameter |
C3DFile.GetParDimension |
C3DFile.GetParExists |
C3DFile.GetParName |
C3DFile.GetParNoOfDimensions |
C3DFile.GetParType |
C3DFile.GetPointName |
C3DFile.GetPointNo |
C3DFile.GetPoints |
C3DFile.GetUnits |
C3DFile.Import |
C3DFile.IsFile2D |
C3DFile.Open |
C3DFile.Refresh |
C3DFile.Save |
C3DFile.SetAnalog |
C3DFile.SetAnalogName |
C3DFile.SetParameter |
C3DFile.SetPointName |
C3DFile.SetPoints |
Dynamic 3D Viewer Library |
Constants |
D3D.AntiAliasing |
D3D.Attach |
D3D.BackGroundColor |
D3D.Close |
D3D.CloseFile |
D3D.CloseScene |
D3D.Create |
D3D.CreateScene |
D3D.CurrentFrame |
D3D.Detach |
D3D.DrawCrossHair |
D3D.DrawCameras |
D3D.DrawCoordSys |
D3D.DrawFloor |
D3D.FID |
D3D.FileLoaded |
D3D.Font |
D3D.InvalidateOnSelection |
D3D.IsWindow |
D3D.HasScene |
D3D.HighlightObject |
D3D.LoadFile |
D3D.MouseSensitivity |
D3D.ObjectResolution |
D3D.ScaleFactor |
D3D.SelectObject |
D3D.SetCoordSysProperties |
D3D.SetFloorOffset |
D3D.SetFloorProperties |
D3D.SetCrossHairProperties |
D3D.SetMarkerProperties |
D3D.Pan |
D3D.Play |
D3D.ResetView |
D3D.Rotate |
D3D.Visual3DMouse |
D3D.Zoom |
Ext Library |
BIT.AND |
BIT.NOT |
BIT.OR |
BIT.SHIFT |
BIT.XOR |
BYTE.LO |
BYTE.HI |
DT.Compare |
DT.Format |
DT.Get |
DT.GetCurrent |
FF.Close |
FF.Find |
FF.GetFileCount |
FF.GetFilePath |
FF.Open |
FF.Reset |
FF.SetOption |
FIO.Close |
FIO.Create |
FIO.Eof |
FIO.Gets |
FIO.Open |
FIO.Puts |
LONG.Make |
PATH.GetFileInfo |
PATH.GetOpenFilename |
PATH.GetSaveFilename |
PATH.GetTempFile |
PATH.GetTempFolder |
PATH.GetWinFolder |
PATH.GetCurFolder |
PATH.Make |
PATH.SessionVar |
PATH.Split |
PATH.Up |
PROFILE.Close |
PROFILE.Open |
PROFILE.Read |
PROFILE.Write |
REG.Read |
REG.Write |
SHELL.Execute |
SK.AppActivate |
SK.SendKeys |
SK.SetDelay |
SM.Close |
SM.Create |
SM.Open |
SM.Read |
SM.Write |
STR.Default |
STR.Delete |
STR.ExtractSubstring |
STR.Find |
STR.Replace |
STR.Trim |
TIMER.Close |
TIMER.Elapsed |
TIMER.Open |
TIMER.Start |
TIMER.Stop |
WORD.HI |
WORD.LO |
WORD.Make |
Graph Library |
Constants |
GRAPH.AddElement |
GRAPH.Attach |
GRAPH.Axis |
GRAPH.Close |
GRAPH.Color |
GRAPH.Copy2Clip |
GRAPH.Create |
GRAPH.Cursor |
GRAPH.Delete |
GRAPH.Detach |
GRAPH.Element |
GRAPH.Exists |
GRAPH.FindElement |
GRAPH.Font |
GRAPH.FrameOffset |
GRAPH.Grid |
GRAPH.HiLite |
GRAPH.IsWindow |
GRAPH.Legend |
GRAPH.New |
GRAPH.Options |
GRAPH.Scale |
GRAPH.Symbols |
GRAPH.Time |
GRAPH.Type |
GRAPH.Title |
GRAPH.Units |
Grid Library |
Constants |
GRID.Attach |
GRID.AutoSize |
GRID.AutoSizeColumn |
GRID.AutoSizeRow |
GRID.CellFromPoint |
GRID.Clear |
GRID.Close |
GRID.CloseFile |
GRID.Copy2Clip |
GRID.Create |
GRID.ColumnCount |
GRID.ColumnResize |
GRID.ColumnWidth |
GRID.DeleteAllItems |
GRID.DeleteColumn |
GRID.DeleteRange |
GRID.DeleteRow |
GRID.Detach |
GRID.Editable |
GRID.EnableNoClip |
GRID.EnableCopyWithoutSelection |
GRID.EnableRestoreWindowFocus (COPY) |
GRID.EnableSelection |
GRID.EnableTitleTips |
GRID.EnsureVisible |
GRID.ExpandColumnsToFit |
GRID.ExpandLastColumn |
GRID.ExpandRowsToFit |
GRID.ExpandToFit |
GRID.FileLoaded |
GRID.FixedBkColor |
GRID.FixedColumnCount |
GRID.FirstDataFrame |
GRID.FixedRowCount |
GRID.FixedTextColor |
GRID.FrameFocusCell |
GRID.GetArray |
GRID.GetDataFrameRow |
GRID.GetRange |
GRID.GetRangeName |
GRID.GoToRow |
GRID.GridBkColor |
GRID.GridLineColor |
GRID.GridLines |
GRID.InsertColumn |
GRID.InsertRow |
GRID.InvalidMarker |
GRID.ItemBkColor |
GRID.ItemBorders |
GRID.ItemBorderColor |
GRID.ItemFgColor |
GRID.ItemFormat |
GRID.ItemFormatString |
GRID.ItemInteger |
GRID.ItemModified |
GRID.ItemReal |
GRID.ItemReadOnly |
GRID.ItemText |
GRID.ItemType |
GRID.IsWindow |
GRID.ListMode |
GRID.ListTemplates |
GRID.LoadFile |
GRID.Modified |
GRID.PutArray |
GRID.Redraw |
GRID.RedrawCell |
GRID.RedrawColumn |
GRID.RedrawRange |
GRID.RedrawRow |
GRID.Refresh |
GRID.RowCount |
GRID.RowHeight |
GRID.RowResize |
GRID.SaveFile |
GRID.SetDefaultFormatString |
GRID.SetDefaultType |
GRID.SetFixedColumnFont |
GRID.SetFixedRowFont |
GRID.SetFont |
GRID.SetItemFont |
GRID.SetRange |
GRID.TextBkColor |
GRID.Template |
GRID.TextColor |
GRID.TrackFocusCell |
GRID.TrackRow |
Lists and Collections Library |
Constants |
LIST.Append |
LIST.At |
LIST.Close |
LIST.Copy |
LIST.Create |
LIST.Delete |
LIST.Dump |
LIST.Fill |
LIST.Find |
LIST.Insert |
LIST.ITX |
LIST.Lower |
LIST.Max |
LIST.Min |
LIST.Remove |
LIST.Size |
LIST.Sort |
LIST.Swap |
LIST.Upper |
Motion Analysis Library |
Arrays |
Constants |
Functions |
Units |
Angles |
MAL.Angle |
MAL.AngleOptions |
Array Functions |
Frame Range, FRS |
Point Range, PTS |
Array Slicers V1D, V2D, V3D |
Vector Index Array VIX |
Derivatives |
MAL.Acceleration |
MAL.Velocity |
General Functions |
MAL.ConvertUnits |
MAL.FrameRate |
MAL.InvalidValue |
MAL.IsInvalid |
MAL.MarkInvalid |
MAL.Version |
Line Geometry |
MAL.Between |
MAL.Collinear |
MAL.Shortest |
MAL.Intersect |
MAL.Left |
Matrix Functions |
MAL.CreateTM |
MAL.DeterminantTM |
MAL.InverseTM |
MAL.NormalizeTM |
MAL.Orientation |
MAL.TransposeTM |
Signal Processing |
MAL.Extrapolate |
MAL.Filter |
MAL.Interpolate |
MAL.Normalize |
Statistics |
MAL.Max |
MAL.Mean |
MAL.Median |
MAL.Min |
MAL.Sum |
Transformations |
MAL.OffsetPoint |
MAL.ProjectPoint2D |
MAL.ProjectPoint3D |
MAL.TransformPoint |
MAL.VectorTransform |
Vector Algebra |
MAL.Add |
MAL.CrossProduct |
MAL.Distance |
MAL.Divide |
MAL.Multiply |
MAL.ScalarProduct |
MAL.Set |
MAL.Subtract |
MAL.UnitVector |
MAL.VectorLength |
Waveforms |
MAL.Waveform |
PropList Library |
Constants |
PROPLIST.AddFile |
PROPLIST.AddProperty |
PROPLIST.Clear |
PROPLIST.Close |
PROPLIST.CloseAll |
PROPLIST.Create |
PROPLIST.DoModal |
PROPLIST.Exists |
PROPLIST.GetBorderStyle |
PROPLIST.GetCaptionWidth |
PROPLIST.GetCategoryOpen |
PROPLIST.GetDelimiter |
PROPLIST.GetItem |
PROPLIST.GetPrecision |
PROPLIST.GetRowHeight |
PROPLIST.GetSelected |
PROPLIST.GetValue |
PROPLIST.GetWindow |
PROPLIST.Hide |
PROPLIST.SelectPane |
PROPLIST.SelectProperty |
PROPLIST.SetBorderStyle |
PROPLIST.SetCaptionWidth |
PROPLIST.SetCategoryOpen |
PROPLIST.SetDelimiter |
PROPLIST.SetMinMax |
PROPLIST.SetOption |
PROPLIST.SetPrecision |
PROPLIST.SetRowHeight |
PROPLIST.SetValue |
PROPLIST.ShowDescription |
TCP/IP Socket Library |
Constants |
SOCK.Close |
SOCK.Connect |
SOCK.GetError |
SOCK.GetPort |
SOCK.GetServerName |
SOCK.IsConnected |
SOCK.Purge |
SOCK.Receive |
SOCK.Send |
Video Library |
Constants |
VIDEO.Attach |
VIDEO.Brightness |
VIDEO.ClearPoint |
VIDEO.ClearTool |
VIDEO.Close |
VIDEO.CloseFile |
VIDEO.ContinousPlay |
VIDEO.Contrast |
VIDEO.Copy2Clip |
VIDEO.Create |
VIDEO.CreateTool |
VIDEO.CurrentFrame |
VIDEO.Detach |
VIDEO.Display |
VIDEO.EnableRightClickMenus |
VIDEO.FileLoaded |
VIDEO.GetAngleUnits |
VIDEO.GetFileTime |
VIDEO.GetFrameTime |
VIDEO.GetMarkerShape |
VIDEO.GetNoOfFrames |
VIDEO.GetNoOfTools |
VIDEO.GetPixel |
VIDEO.GetPointNumber |
VIDEO.GetTimeStamp |
VIDEO.GetToolProperties |
VIDEO.GetToolValue |
VIDEO.GetUnits |
VIDEO.GetXResolution |
VIDEO.GetYResolution |
VIDEO.Grid |
VIDEO.IsWindow |
VIDEO.LoadFile |
VIDEO.MakeAVI |
VIDEO.NoOfPoints |
VIDEO.ObjectVisible |
VIDEO.Output |
VIDEO.Play |
VIDEO.PlaySpeed |
VIDEO.PointName |
VIDEO.PointStatus |
VIDEO.Rotate |
VIDEO.SampleRate |
VIDEO.SaveVideo |
VIDEO.ScaleDisplay |
VIDEO.ScaleX |
VIDEO.ScaleY |
VIDEO.SetAngleProperties |
VIDEO.SetCOMProperties |
VIDEO.SetDistanceProperties |
VIDEO.SetGridProperties |
VIDEO.SetMarkerProperties |
VIDEO.SetNoteProperties |
VIDEO.SetProjPointsProperties |
VIDEO.SetStickProperties |
VIDEO.Step |
VIDEO.StepLength |
VIDEO.T0 |
VIDEO.T1 |
VIDEO.TimeDisplay |
VIDEO.ToolName |
VIDEO.ToolText |
VIDEO.UnScaleX |
VIDEO.UnScaleY |
VIDEO.XCoord |
VIDEO.Ycoord |
VIDEO.Zoom |
MyBASIC2 App |
Qualifiers |
Commands |
MyBASIC2 IDE |
Environment Editor |
Options |
Output Pane |
Projects |
Creating a Project |
Project Menu |
Qualifiers |
Snippets |
Code Templates |
System Files |
Tools Menu |
Workspace |
MyBASIC2 Tracer |
GUI Debugger |
Debug Menu |
Tools Menu |
Options |
Debugger |
Commands |
Developers Reference |
Overview |
Adding MyBASIC2 Scripting |
Initializing and Terminating |
Adding Functions |
Sample |
Creating Extension Libraries |
Creating the DLL |
Adding Functions |
Sample |
API Reference |
Structures |
mb_interpreter_t |
mb_value_t |
Arrays |
Error Handling |
Input and Output |
Keyboard Handler |
Console |
Debugging |
Tracer |
Macros |
BEGIN_PARSE |
COPY_STRING |
END_PARSE |
END_PARSE_FUNCTION |
IF_END_PARSE |
INT_VALUE |
IS_xxx_VALUE |
MAKE_STRING |
OPT_ARRAY |
OPT_HANDLE |
OPT_INT |
OPT_REAL |
OPT_REF |
OPT_STRING |
OPT_VALUE |
PARSE_DONE |
PARSE_FUNCTION |
POP_ARRAY |
POP_HANDLE |
POP_INT |
POP_REAL |
POP_REF |
POP_STRING |
POP_VALUE |
REAL_VALUE |
RETURN_CSTRING |
RETURN_ERROR |
RETURN_HANDLE |
RETURN_INT |
RETURN_INT_BYE |
RETURN_REAL |
RETURN_REF |
RETURN_STRING |
RETURN_STRCPY |
RETURN_VALUE |
SAVE_STATE |
SKIPPED_LAST |
STRING_VALUE |
VERIFY_STRING_VALUE |
VERIFY_INT_VALUE |
VERIFY_NUM_VALUE |
VERIFY_REAL_VALUE |
VERIFY_REF_VALUE |
VERIFY_HANDLE_VALUE |
VERIFY_MODULE_VALUE |
VERIFY_ARRAY_VALUE |
Functions |
Initialize and Terminate MyBASIC2 |
mb_dispose |
mb_exit |
mb_force_exit |
mb_get_current_interpreter |
mb_get_dll_filename |
mb_set_current_interpreter |
mb_init |
mb_signature |
mb_ver |
mb_ver_string |
Loading, Compiling and Running Scripts |
mb_close |
mb_compile |
mb_compile_ex |
mb_encode_password |
mb_get_fileinfo |
mb_get_include |
mb_get_option_flags |
mb_get_parent |
mb_get_state |
mb_interpreter_valid |
mb_is_terminating |
mb_load_compiled |
mb_load_file |
mb_load_file_ex |
mb_load_library |
mb_load_string |
mb_load_string_ex |
mb_open |
mb_open_sub |
mb_open_sub_call |
mb_protect |
mb_reset |
mb_run |
mb_set_include |
mb_set_library |
mb_set_option_flags |
mb_suspend |
mb_terminate |
Adding Functions and Argument Parsing |
mb_register_func |
mb_remove_func |
mb_remove_reserved_func |
mb_attempt_func_begin |
mb_attempt_func_end |
mb_attempt_open_bracket |
mb_attempt_close_bracket |
mb_check |
mb_has_arg |
mb_has_arg_type |
mb_pop_int |
mb_pop_real |
mb_pop_string |
mb_pop_string_or_null |
mb_pop_reference |
mb_pop_handle |
mb_pop_module |
mb_pop_operator |
mb_pop_type |
mb_pop_value |
mb_push_int |
mb_push_real |
mb_push_string |
mb_push_reference |
mb_push_handle |
mb_push_module |
mb_push_value |
mb_create_namespace |
mb_use_namespace |
mb_end_namespace |
Argument Validation and Processing |
mb_check_array_dimensions |
mb_get_array_dimensions |
mb_get_array_element_count |
mb_get_array_element_size |
mb_get_array_element_ptr |
mb_get_array_type |
mb_get_array_index |
mb_set_array |
mb_set_array_array |
mb_get_array_element |
mb_set_array_element |
mb_ix |
mb_ix_set |
mb_make_value_t |
mb_translate_reference |
mb_data_e_to_string |
mb_value_t_to_int |
mb_value_t_to_real |
mb_value_t_to_string |
Error Handling and I/O Handlers |
mb_add_error |
mb_check_keyboard |
mb_fire_event |
mb_get_error_desc |
mb_get_error_pos |
mb_get_inputer |
mb_get_last_error |
mb_get_printer |
mb_gets |
mb_print |
mb_print_format |
mb_set_check_keyboard_handler |
mb_set_check_keyboard_handler_ex |
mb_set_console_handler |
mb_set_error |
mb_set_error_handler |
mb_set_error_message_limits |
mb_set_inputer |
mb_set_inputer_ex |
mb_set_parser_func |
mb_set_printer |
mb_set_printer_ex |
Environment and Session Variables |
mb_del_environment_var |
mb_get_base |
mb_get_current_context |
mb_get_default_file_ext |
mb_get_environment |
mb_get_environment_var |
mb_get_exit_code |
mb_get_library_version |
mb_get_module_version |
mb_get_os_environment |
mb_get_requested_context |
mb_get_runtimeinfo |
mb_get_userdata |
mb_print_asts |
mb_register_trace_window |
mb_send_trace_message |
mb_set_base |
mb_set_current_context |
mb_set_default_file_ext |
mb_set_environment |
mb_set_environment_var |
mb_set_userdata |
mb_substitute_session_vars |
Memory Management |
mb_cmalloc |
mb_free |
mb_malloc |
mb_malloc_strcpy |
mb_realloc |
Debugger Interface |
mb_debug_enable |
IDE Interface |
Copyright © 20015-2023, Innovision Systems, Inc. All rights reserved.