Hey I have a very novice question.
I just want to do something simple as save the DATE/TIME on a variable. But I can't seem to find an answer to my problem.
Code
;On my hello_world.dat I have
DEFDAT hello_world
DATE curr_date = {SEC 0,MIN 0,HOUR 0,DAY 0,MONTH 0,YEAR 0}
ENDDAT
;On my hello_world.src I have
DEF hello_world()
curr_date = $DATE
END
When i transfer these files to the controller I get the Error number 2037 - Step not allowed or unknown (Google translate).
I feel like this is something simple but I am not getting any luck browsing the manuals and forum.
Hope anyone can help.
Best Regards,
Bruno Ramos