Hi I m new to silk performer and i wanted to know create a function in the bdh file that i have to use current date. I have wrote something like this. But i m not sure about the syntax and how to call this function in the bdf to use the parameter in the script. // dcltrans // transaction TGetCurrentDate var nDate : number; sDateString : string; begin nDate := GetCurrentDate(); //sDateString := FormatDate(nDate, DATE_DEFAULT); TGetCurrentDate := FormatDate(nDate, DATE_DEFAULT); Print("Parsed \"ViewState\", result: \"" + TGetCurrentDate + "\""); end TGetCurrentDate; Thanks Aditya
↧