Does command recent not work anymore

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
mrcoollion
Posts: 723
Joined: Thu Sep 11, 2014 1:49 pm

Does command recent not work anymore

Post by mrcoollion » Thu Mar 16, 2023 7:04 pm

Hello LC friends,

I tried the command recent (see dictionary) as shown below but it generates an error.
If I use 'resent cards' the editor tells me this is a wrong statement.

Code: Select all

put recent card into tResentCard
Am I doing something wrong or does 'resent card' not work in LC 10.0 (dp4)?

Regards,

Paul

stam
Posts: 2996
Joined: Sun Jun 04, 2006 9:39 pm

Re: Does command recent not work anymore

Post by stam » Thu Mar 16, 2023 7:33 pm

You're right - recent card doesn't work as advertised.
the recentCards property stores a return-delimited list of all cards visited, by their id and not name.

So this works:

Code: Select all

put the short name of recent card -- put recent card does not work
HTH
S.

Post Reply

Return to “Talking LiveCode”