An overview of structural pattern matching for Python
An overview of structural pattern matching for Python
Posted May 4, 2022 9:29 UTC (Wed) by Wol (subscriber, #4433)In reply to: An overview of structural pattern matching for Python by epa
Parent article: An overview of structural pattern matching for Python
DataBASIC (depending on your variant) uses REM to mean four different things. Different compilers interpret it differently.
I always used to use it as a variable, but it was also a function (REMainder). Then someone added using it as a statement (REMark). And you could also use it as a label ...
Which variants of REM your compiler accepted depended on the compiler. I think modern versions accept every variation except maybe the variable. Which is a pain, because one of the biggest implementations of its time used it that way ...
Cheers,
Wol
