{curl 7.0, 6.0, 5.0, 4.0, 3.0.4+ applet}

{applet manifest = "manifest.mcurl", curl-root = "."}

|| Compare this applet to "subdir/app2.curl".

The actual applet url is '{value {get-the-applet}.url}'.

The curl-root is '{process-get-curl-root}'.

The effective-root is '{process-get-effective-root}'.

The effective applet url is '{value {get-the-applet}.effective-url}'.

The location of 'curl://local-data' is 
'{{url "curl://local-data"}.canonicalize}'.

Importing a package...

{import * from PACKAGE}
{describe-package}

Including a file...

{include "includes/include.scurl"}

Attempting to update local copy...
{{get-the-applet}.flush}

{let (permission?:bool, network?:bool,
      allowed?:bool, updated?:bool)
    =
    {occ-install-or-update occ-root-installer}
}

{if updated? then
    "Local copy updated."
 elseif allowed? then
    "Local copy already up to date."
 elseif network? then
    "Local copy cannot be updated at this time."
 elseif permission? then
    "Local copy is running now."
 else
    "Local copy forbidden by user."
}


