VBScript / How to use standard VB syntax
Posted: 21 Feb 2012, 22:16
Hi
I'm looking for using standard VB syntax like Trim or Chr.
How to activate them under the script editor ?
I get Compilation error each time I use these functions
I'm looking for using standard VB syntax like Trim or Chr.
How to activate them under the script editor ?
I get Compilation error each time I use these functions
Code: Select all
outChapitreBool = False
If Trim(B_chapitre) <> "" Then
outChapitre = Trim(B_chapitre)
outChapitreBool = True
changed = True
End If
outSessionBool = False
If Trim(C_titre) <> "" Then
outSession = Trim(C_titre)
outSessionBool = True
changed = True
End If
' outIntervenants =
outDebug = A_heure & ". " & B_chapitre & chr(13) & chr(10)& C_titre