Why am i getting a syntax error? Must be missing something obvious. Thx for ideas…
In my datastore class, alot of functions. Here is the problem snippet:
exposed function continueNewAccountApp(valmsg:string,newapp:cs.ACCOUNT_APPLICATIONEntity)->nextpage:string
var resp2:object = newObject()
resp2 = hhh()
if(valmsg != "Thank you. Please proceed to setup the account.")
nextpage = "register_account_start"
else
newapp.save()
nextpage = "register_account"
end
exposed function hhh():object
var fff:object
fff = newObject("hhh","kkk")
return fff
resp2 = hhh() is the line that gives the unexplained syntax error. Thx!