source: tol/vbtol/vbasic/tol.bas @ 47faaab

1941-docker-image-to-testdevel
Last change on this file since 47faaab was 47faaab, checked in by Liván Ramírez Dorta <livanr68@…>, 18 years ago

changes from CVS not merged previously

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@165 be4846ae-f051-483a-831f-b64e7d08527f

  • Property mode set to 100644
File size: 3.2 KB
Line 
1Attribute VB_Name = "Tol"
2
3Declare Sub TolInit Lib "VBTol.dll" (ByVal addr As Long, ByVal vmode As String, _
4                                     ByVal initlib As Integer)
5
6Declare Function TolEval Lib "VBTol.dll" (ByVal expr As String, ByRef nerror As Integer, _
7                                          ByRef nwarning As Integer) As Integer
8
9Declare Function TolDecompile Lib "VBTol.dll" (ByVal name As String) As Integer
10
11Declare Function TolDecompileAll Lib "VBTol.dll" () As Integer
12
13Declare Function TolGetText Lib "VBTol.dll" (ByVal lvalue As String, ByRef retvalue As String) As Integer
14
15Declare Function TolCreateText Lib "VBTol.dll" (ByVal name As String, ByVal value As String) As Integer
16
17Const Known As Integer = 0
18Const Unknown As Integer = 1
19Const PosInf As Integer = 2
20Const NegInf As Integer = 3
21
22Type TolReal
23  kind As Integer
24  value As Double
25End Type
26
27Declare Function TolGetReal Lib "VBTol.dll" (ByVal lvalue As String, ByRef retvalue As TolReal) As Integer
28
29Declare Function TolCreateReal Lib "VBTol.dll" (ByVal name As String, ByRef value As TolReal) As Integer
30
31Type MaskCell
32  row As Long
33  col As Long
34  kind As Integer
35End Type
36
37Declare Function TolGetMatrix Lib "VBTol.dll" (ByVal lvalue As String, ByRef retvalue() As Double, _
38                                               ByRef retmask() As MaskCell) As Integer
39
40Declare Function TolCreateMatrix Lib "VBTol.dll" (ByVal name As String, ByRef value() As Double, _
41                                                  ByRef mask() As MaskCell) As Integer
42
43Declare Function TolGetRange Lib "VBTol.dll" (ByVal lvalue As String, _
44    ByVal frow As Long, ByVal lrow As Long, ByVal fcol As Long, ByVal fcol As Long, _
45    ByRef retvalue() As Double, ByRef retmask() As MaskCell) As Integer
46
47Declare Function TolGetRow Lib "VBTol.dll" (ByVal lvalue As String, ByVal row As Long, _
48                                            ByRef retvalue() As Double, ByRef retmask() As MaskCell) As Integer
49
50Declare Function TolGetColumn Lib "VBTol.dll" (ByVal lvalue As String, ByVal col As Long, _
51                                               ByRef retvalue() As Double, ByRef retmask() As MaskCell) As Integer
52
53Declare Function TolGetCell Lib "VBTol.dll" (ByVal lvalue As String, ByVal row As Long, ByVal col As Long, _
54                                             ByRef retvalue As TolReal) As Integer
55
56Declare Function TolPutRange Lib "VBTol.dll" (ByVal lvalue As String, ByVal row As Long, ByVal col As Long, _
57                                              ByRef value() As Double, ByRef mask() As MaskCell) As Integer
58
59Declare Function TolPutRow Lib "VBTol.dll" (ByVal lvalue As String, ByVal row As Long, _
60                                              ByRef value() As Double, ByRef mask() As MaskCell) As Integer
61
62Declare Function TolPutColumn Lib "VBTol.dll" (ByVal lvalue As String, ByVal col As Long, _
63                                              ByRef value() As Double, ByRef mask() As MaskCell) As Integer
64
65Declare Function TolPutCell Lib "VBTol.dll" (ByVal lvalue As String, ByVal row As Long, ByVal col As Long, _
66                                             ByRef value As TolReal) As Integer
Note: See TracBrowser for help on using the repository browser.