Contents

×

Suntan Special version 0.68

Suntan Special Warp4 edition

QuerySettings

Suntan Special Function: QuerySettings

QuerySettings obtains information about a Suntan Special setting.

Syntax:

result = query(keyword, command)

Program Arguments

  1. keyword - name of the setting or 'All'
  2. command - type of information to return (case-sensitive)
    Value - the current value of the setting
    DefaultValue - the default value of the setting
    Instructions - description of the setting
    Prompt - return a string containing the setting name, value and intructions for use by the settings editor
    Query - put up a message to the user for a new value for the setting and return the value that the user enters

Returns:

return value depends on the command entered. If the keyword is 'All', then return a list of all settings delimited by semicolons (;)

Note:

The Suntan Special settings are stored in <suntanDir>\settings.txt

Last Modified: 24 Dec 2019
Graphics by Colorful Language
Copyright 2019 by Blonde Guy