Update TEMPLATE.md

patch-1
Mr-Un1k0d3r 2016-11-11 19:30:19 -05:00 committed by GitHub
parent 49ab11f5bf
commit c59fe78b89
1 changed files with 6 additions and 4 deletions

View File

@ -1,9 +1,9 @@
##Want to write your own template?
#Variables
At the moment the engine support the following keyword `"var", "func", "data", "cond", "int"`
At the moment the engine support the following keyword `var, func, data, cond, int`
The engine also support following variables `"[int]", "[smallint]"`.
The engine also support following variables `[int], [smallint]`.
This mean that everytime one of these keyword is found it will be replace with random value.
@ -40,13 +40,15 @@ If you are using keyword that are not supported by the parser add the following
Want to add specific variable like a URL. Simply define it in the template like this `[URL]`
```
Function func1(var1 As String) As String
[use:myfunction]
Function myfunction(var1 As String) As String
Dim var2 As String
Dim int1 As String
int1 = [smallint1]
var2 = "[URL]"
If (var2 = var1) Then
func1 = "cond1"
myfunction = "cond1"
End If
End Function
```