This shows how the typed Parameter value is accessible in the script.

To get a Parameter value as string during the Task script runtime, use the following method:
param["TaskParameter"];
This method returns the string hello world. Parameters are always read only, so you are not able to set them to a new value during the Task script runtime.