How can we tell whether the script is for 5.3 or 4.5
Author: sgubba
Creation Date: 2/10/2009 5:07 AM
profile picture

sgubba

#1
Frequently we see the scripts written but not mentioned which version it is for. How can we tell whether the script is for 5.3 or for 4.5?

I assume the script is for 5.3 if it starts with " Using the system.....and ending }}}}}", and if the script starts with "Var....and ends with End; "

Many end users may be in similar situation but never asked. :)
profile picture

Eugene

#2
WLD 3/4 scripts use the Pascal/Delphi syntax. It doesn't have to start with Var... and end with End;

WL5 strategies use the C# syntax. Yes, it typically has a number of lines which start with "using".
profile picture

sgubba

#3
Thank you very much. :)
SG
profile picture

DrKoch

#4
begin/end -> Pascal
{ } -> C#
profile picture

sgubba

#5
Thank you Dr. Koch. :) Nice of you both.