[Scripter]

* OPT Text Doc change
This commit is contained in:
Brian G 2021-06-17 11:42:31 -07:00
parent 968eee59b3
commit edaac17558
3 changed files with 5 additions and 4 deletions

View file

@ -70,7 +70,7 @@ End
'' #Script name="xxxx"
'' #Script startup="MySub"
'' #Script Version ="0.2.3" , ...
'' #Script ....
'' #Script Property=AppSet:"2.0.0.1"
Public Sub _call(aSymbols As String[], aTypes As Integer[], LineNumber As Integer, sPath As String)
@ -81,13 +81,14 @@ Public Sub _call(aSymbols As String[], aTypes As Integer[], LineNumber As Intege
' If hasOptions Then ' options have already been defined
' ScriptMain.CompileError("Options", LineNumber, "Project Options already defined")
' Endif
If aSymbols.count < 2 Then Return
For i = 1 To aSymbols.Max
If aSymbols[i] = "," Then Continue
KeyIndex = KeyWords[Upper(aSymbols[i])]
Inc i
If aSymbols[i] <> "=" Or If aTypes[i + 1] <> Highlight.string And aTypes[i + 1] <> Highlight.symbol Then
CompileError(sPath, LineNumber, "Invalid #Script PreProcess Command Format :" & aSymbols.Join(" "))
Return

View file

@ -1,5 +1,5 @@
[TestSuites]
Count=0
TestWith=0
Default="TaMServerPages.RunWebPageGeneratedProgram;WebPageProgramCreation,TbCommandLinePrograms.CreateProgramFromCommandLineArgs;ExecuteACommandLineProgram,TcMMainFunctions.CheckLibraryVersions;CheckProcessLibrary;Components;FullReadCompileCheck;FullReadCompileCheckWithMain;ValidFileRebuildCheck,TdGeneralCompile.LazyApps,TeAliases.CheckAlias,TfKeyWordFilter.DoFilters,TgPluginMode.DoAPlugin,ThPrePostProcessCallBacks.aLoadThePrePostProcessPlugin;bSetupPreAndPostTables;cProcessAProgram;dBuildTheGeneratedCode;eDoRealProcess"
Default="TgPluginMode.DoAPlugin"

View file

@ -1,6 +1,6 @@
#Script Version="5.9.3"
#Script Name="AnotherTest"
#Script Title="Plugin tester Too"
#Script Title="Plugin tester Too{str(now)}"
#Script Description="This plugin is a test for the scripter too"
#Script Property=MyProp:"Added Plugin Special prop"