Zoomed Image

AMSX Scripting Language - Command : querystringoptional

Summary

Read an optional value from the parsed query string

Description

Retrieves the value for the given key from the query string loaded by ReadQueryString. Returns the default value if the key is missing, without raising an error if the query string itself has not been loaded.

Parameters

ParameterDescription
cmdkey
Argument 0default value

Syntax


QueryStringOptional "key", "default value"

Return to the AMSX Command Reference