Help talk:Function syntax

From the Oblivion ConstructionSet Wiki
Revision as of 16:34, 1 September 2011 by imported>DragoonWraith (→‎String and Bool types?: response to Arthmoor)
Jump to navigation Jump to search

String and Bool types?

Aren't the string and bool types specific to OBSE? I don't recall ever seeing either one used in a purely vanilla script. --Arthmoor

String is used as an argument value by Oblivion script... you're probably right that no function returns one, though. I may amend the wording there.
Boolean values are used by functions all the time, though there is no special bool variable type. That might be unclear. But the page is primarily intended to explain the descriptions used by the Wiki, which does use bool to indicate a boolean value (even though the variable passed to the function or receiving the result would be declared as a short).
I'll try to make that a bit clearer.
Oh, and please sign comments on discussion pages with ~~~~; it'll insert your name and a timestamp, which is convenient for keeping track of who is saying what.
Dragoon Wraith TALK 17:34, 1 September 2011 (EDT)