<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.spherecommunity.net/index.php?action=history&amp;feed=atom&amp;title=Portuguese%3AIntrinsic_Functions</id>
		<title>Portuguese:Intrinsic Functions - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.spherecommunity.net/index.php?action=history&amp;feed=atom&amp;title=Portuguese%3AIntrinsic_Functions"/>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Portuguese:Intrinsic_Functions&amp;action=history"/>
		<updated>2026-04-16T16:26:55Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.28.0</generator>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Portuguese:Intrinsic_Functions&amp;diff=840&amp;oldid=prev</id>
		<title>Lightsource: Created page with '{{Languages|Intrinsic_Functions}}  Funções intrínsecas são funções especiais que somente podem ser usadas em funções de avaliação, como EVAL, FEVAL, FHVAL, ...'</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Portuguese:Intrinsic_Functions&amp;diff=840&amp;oldid=prev"/>
				<updated>2011-08-25T14:37:23Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;{{Languages|Intrinsic_Functions}}  Funções intrínsecas são funções especiais que somente podem ser usadas em funções de avaliação, como &lt;a href=&quot;/index.php?title=EVAL&quot; title=&quot;EVAL&quot;&gt;EVAL&lt;/a&gt;, &lt;a href=&quot;/index.php?title=FEVAL&quot; title=&quot;FEVAL&quot;&gt;FEVAL&lt;/a&gt;, &lt;a href=&quot;/index.php?title=FHVAL&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;FHVAL (page does not exist)&quot;&gt;FHVAL&lt;/a&gt;, ...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Languages|Intrinsic_Functions}}&lt;br /&gt;
&lt;br /&gt;
Funções intrínsecas são funções especiais que somente podem ser usadas em funções de avaliação, como [[EVAL]], [[FEVAL]], [[FHVAL]], [[FVAL]] e [[HVAL]]. Algumas das funções e propriedades embutidas irão avaliar automaticamente seus parâmetros, por exemplo a função [[IF]] e [[WHILE]] automaticamente irão avaliar suas condicionais.&lt;br /&gt;
&lt;br /&gt;
Diferente da sintaxe para funções normais (&amp;amp;lt;FUNCTION args&amp;amp;gt;), a sintaxe para retornar um valor de uma função intrínseca é:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;FUNCTION(''args'')&amp;lt;br /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A tabela a seguir detalha todas as funções intrínsecas no SphereServer:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Nome''' || '''Descrição'''&lt;br /&gt;
|-&lt;br /&gt;
| [[COS]](''valor'') || Retorna o cosseno de ''valor''.&lt;br /&gt;
|-&lt;br /&gt;
| [[ID]](''defname'') || Retorna o valor numérico de ''defname''.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISOBSCENE]](''texto'') || Retorna 1 se ''texto'' é considerado como texto obsceno.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISNUMERIC]](''valor'') || Retorna 1 se ''valor'' é numérico.&lt;br /&gt;
|-&lt;br /&gt;
| [[LOGARITHM]](''valor'') || Retorna o logarítimo na base-10 de ''valor''.&lt;br /&gt;
|-&lt;br /&gt;
| [[LOGARITHM]](''valor'', ''base'') || Retorna o logarítimo de ''value'' na base-''base'' . (Aceita &amp;quot;e&amp;quot; e &amp;quot;pi&amp;quot; como bases, bem como valores numéricos)&lt;br /&gt;
|-&lt;br /&gt;
| [[NAPIERPOW]](''valor'') || Retorna e neperiano (2.7182818) para o power de ''valor''.&lt;br /&gt;
|-&lt;br /&gt;
| [[QVAL]](''a, b, less_than, equal_to, greater_than'') || Retorna ''less_than'' se ''a'' é menor/menos que ''b'', ''equal_to'' se ''a'' é igual a ''b'', ou ''greater_than'' se ''a'' é maior/mais que ''b''.&lt;br /&gt;
|-&lt;br /&gt;
| [[RAND]](''valor'') || Retorna um valor aleatório entre 0 e ''valor-1''.&lt;br /&gt;
|-&lt;br /&gt;
| [[RAND]](''min, max'') || Retorna um valor aleatório entre ''min'' e ''max''.&lt;br /&gt;
|-&lt;br /&gt;
| [[RANDBELL]](''valor, variância'') || Calcula um valor baseado na curva em forma de sino (Gauss).&lt;br /&gt;
|-&lt;br /&gt;
| [[SIN]](''valor'') || Retorna o seno de ''valor''.&lt;br /&gt;
|-&lt;br /&gt;
| [[STRCMP]](''linha1, linha2'') || Compara ''linha1'' com ''linha2'' e retorna o resultado. Sensível a caixa alta. (&amp;lt;= 1 = ''linha1'' menor/menos que ''linha2'', 0 = ''linha1'' igual a/equivalente ''linha2'', &amp;gt;= 1 = ''linha1'' maior/mais que ''linha2'')&lt;br /&gt;
|-&lt;br /&gt;
| [[STRCMPI]](''linha1, linha2'') || Compara ''linha1'' com ''linha2'' e retorna o resultado. NÃO sensível a caixa alta. (&amp;lt;= 1 = ''linha1'' menor/menos que ''linha2'', 0 = ''linha1'' igual a/equivalente ''linha2'', &amp;gt;= 1 = ''linha1'' maior/mais que ''linha2'')&lt;br /&gt;
|-&lt;br /&gt;
| [[STRINDEXOF]](''texto, search, n'') || Retorna o indice da sequencia de caracteres ''search''  no ''texto'', a começar do caractere número ''n''. (começando de zero)&lt;br /&gt;
|-&lt;br /&gt;
| [[STRLEN]](''texto'') || Retorna o comprimento de ''texto''.&lt;br /&gt;
|-&lt;br /&gt;
| [[STRMATCH]](''padrão, texto'') || Retorna 1 se ''texto'' corresponde especificamente ao ''padrão''.&lt;br /&gt;
|-&lt;br /&gt;
| [[STRREGEX]](''padrão, texto'') || Retorna 1 se ''texto'' corresponde à expressão regular especificada ''padrão''.&lt;br /&gt;
|-&lt;br /&gt;
| [[SQRT]](''valor'') || Retorna a raiz quadrada de ''value''.&lt;br /&gt;
|-&lt;br /&gt;
| [[TAN]](''valor'') || Retorna a tangente de ''value''.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Scripts]]&lt;/div&gt;</summary>
		<author><name>Lightsource</name></author>	</entry>

	</feed>