Code: public void printBirthdays() { Birthdays birthdays; UserTable userTable; ; while select birthdays where (birthdays.Date == DateTimeUtil::utcNow()) && (birthdays.UserId == 'DFYX') { userTable = UserTable::find(birthdays.UserId); info(strFmt('Alles gute zu deinem %1. Geburtstag, %2!', userTable.calcAge(), birthdays.UserId)); } }
public void printBirthdays() { Birthdays birthdays; UserTable userTable; ; while select birthdays where (birthdays.Date == DateTimeUtil::utcNow()) && (birthdays.UserId == 'DFYX') { userTable = UserTable::find(birthdays.UserId); info(strFmt('Alles gute zu deinem %1. Geburtstag, %2!', userTable.calcAge(), birthdays.UserId)); } }
Foren-Regeln