Jennifer In Control
Jennifer In Control
Title:Snippet Save user state between tasks Sex: Female T Male T Trans T Require: Limits: ;* Save task outcome and load for next time the task is run * ;* this is meant as a proof of concept that other can use, it is not a separate task* ;* beginning * loadtemp1:continuity show:File status is... TEMP1 wait:3 if:('TEMP1'=='') show:Welcome SNAME this is your FIRST time trying this task. fi: if:('TEMP1'=='repeater') show: Welcome back SNAME you have tried this task before. fi: wait:3 show:Please select what to do with the save file from below. choice:Empty,Register wait:1 if:(LASTASK==1) settemp1:'' fi: if:(LASTASK==2) settemp1:'repeater' fi: show: Outcome is saved as TEMP1, we are done here SNAME. button:Thank you DTITLE savetemp1:continuity ;