Skip to content

Commit

Permalink
Merge pull request #81 from IDEMSInternational/master
Browse files Browse the repository at this point in the history
Updating master
  • Loading branch information
berylwaswa authored Apr 8, 2024
2 parents 445e142 + 87fdeed commit ae1ad7d
Show file tree
Hide file tree
Showing 9 changed files with 1,434 additions and 35 deletions.
7 changes: 5 additions & 2 deletions instat/clsRSyntax.vb
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,6 @@ Public Class RSyntax
''' <summary> The R command in the form of a string. </summary>
Public strCommandString As String = ""

''' <summary> The script associated with the base R code. </summary>
Public strScript As String

''' <summary> The R functions/operators/commands that should be run before the base R code. </summary>
Private lstBeforeCodes As New List(Of RCodeStructure)
Expand Down Expand Up @@ -231,6 +229,8 @@ Public Class RSyntax
clsBaseFunction.GetAllAssignTo(lstCodes, lstValues)
ElseIf bUseBaseOperator Then
clsBaseOperator.GetAllAssignTo(lstCodes, lstValues)
ElseIf bUseCommandString Then
clsBaseCommandString.GetAllAssignTo(lstCodes, lstValues)
End If
lstBeforeCodes.Sort(AddressOf CompareCodePositions)
For Each clsTempCode As RCodeStructure In lstBeforeCodes
Expand Down Expand Up @@ -295,6 +295,7 @@ Public Class RSyntax
'''--------------------------------------------------------------------------------------------
Public Function GetScript() As String
Dim strTemp As String = ""
Dim strScript As String = ""

If bUseBaseFunction Then
strTemp = clsBaseFunction.ToScript(strScript)
Expand Down Expand Up @@ -431,6 +432,7 @@ Public Class RSyntax
clsBaseFunction = clsFunction
bUseBaseFunction = True
bUseBaseOperator = False
bUseCommandString = False
End Sub

'''--------------------------------------------------------------------------------------------
Expand All @@ -442,6 +444,7 @@ Public Class RSyntax
clsBaseOperator = clsOperator
bUseBaseFunction = False
bUseBaseOperator = True
bUseCommandString = False
End Sub

'''--------------------------------------------------------------------------------------------
Expand Down
283 changes: 282 additions & 1 deletion instat/dlgClimograph.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ae1ad7d

Please sign in to comment.