Changeset 47faaab in tol for vbtol


Ignore:
Timestamp:
Nov 14, 2008, 6:01:55 PM (18 years ago)
Author:
Liván Ramírez Dorta <livanr68@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
2d065cc
Parents:
2fa44ff
Message:

changes from CVS not merged previously

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vbtol/vbasic/tol.bas

    r2fa44ff r47faaab  
    11Attribute VB_Name = "Tol"
    22
    3 Declare Sub TolInit Lib "VBTol.dll" (ByVal addr As Long, ByVal vmode As String)
     3Declare Sub TolInit Lib "VBTol.dll" (ByVal addr As Long, ByVal vmode As String, _
     4                                     ByVal initlib As Integer)
    45
    5 Declare Function TolEval Lib "VBTol.dll" (ByVal expr As String, ByRef nerror As Integer, ByRef nwarning As Integer) As Integer
     6Declare Function TolEval Lib "VBTol.dll" (ByVal expr As String, ByRef nerror As Integer, _
     7                                          ByRef nwarning As Integer) As Integer
    68
    79Declare Function TolDecompile Lib "VBTol.dll" (ByVal name As String) As Integer
    810
    911Declare 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 TracChangeset for help on using the changeset viewer.