The preserved word "as" is used in import as and is explained in the docs. I can't seem to find its use in anObject as aClass. And it is not the simplest word to search for. Am I missing something?
bitphlipphar05/30/2023 12:09 PM
You can use import net.wifi as mywifi to make the wifi.open available as mywifi.open. The default prefix is the last segment of the imported path (unless the path starts with .).(edited)