*SetString()
Sets the value of a string entity.
Syntax
*SetString(string_name, "string_value")
Arguments
- string_name
- The variable name of an existing string entity.
- string_value
- The value of the string entity.
Example
*DefineDataSet(dsdef_vehpar)
*String(model, "Model")
*Integer(wheelbase, "Wheelbase")
*Real(spr_mass_cg_hgt, "Sprung Mass CG Height")
*Real(frnt_spr_mass, "Front Sprung Mass")
*Real(rear_spr_mass, "Rear Sprung Mass")
*EndDefine()
*DataSet(ds_vehpar, "Vehicle Arguments", dsdef_vehpar)
*SetString(ds_vehpar.model, "Sport Utility")
*SetInteger(ds_vehpar.wheelbase, 3000)
*SetReal(ds_vehpar.spr_mass_cg_hgt, 800.0)
*SetReal(ds_vehpar.frnt_spr_mass, 800.0)
*SetReal(ds_vehpar.rear_spr_mass, 600.0)