forked from freebasic/fbc
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2466d6c
commit 88a1d5b
Showing
863 changed files
with
21,103 additions
and
16,627 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
antonigual [at] eic [dot] ictnet [dot] es | ||
{{fbdoc item="title" value="Antoni"}}---- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,37 @@ | ||
{{fbdoc item="title" value="Array Functions"}}---- | ||
Statements and procedures for working with arrays. | ||
Les déclarations et procédures de travail avec des tableaux. | ||
|
||
**{{anchor name="DEFINE|Defining Arrays"}}** | ||
Statements that create arrays. | ||
**{{anchor name="CLEAR|Clearing Array Data"}}** | ||
Procedures that work with array memory. | ||
**{{anchor name="SIZE|Retrieving Array Size"}}** | ||
Procedures that return bounds of an array's dimension. | ||
**[[#DEFINE">Définition de tableaux]]** | ||
Déclarations de création de tableaux. | ||
**[[#CLEAR">Effacement des données d'un tableau]]** | ||
Procédures de travail avec la mémoire d'un tableau. | ||
**[[#SIZE">Récupération de la taille d'un tableau]]** | ||
Procédures qui retournent les limites des dimensions d'un tableau. | ||
|
||
<<{{anchor name="DEFINE"}}{{fbdoc item="section" value="Defining Arrays"}} | ||
=={{fbdoc item="keyword" value="KeyPgOptiondynamic|OPTION DYNAMIC"}}== | ||
Forces arrays to be defined as variable-length arrays. | ||
=={{fbdoc item="keyword" value="KeyPgMetaDynamic|'$DYNAMIC"}}== | ||
Alternate form of the [[KeyPgOptiondynamic OPTION DYNAMIC]] statement. | ||
=={{fbdoc item="keyword" value="KeyPgOptionstatic|OPTION STATIC"}}== | ||
Reverts a previous [[KeyPgOptiondynamic OPTION DYNAMIC]] command. | ||
=={{fbdoc item="keyword" value="KeyPgMetaStatic|'$STATIC"}}== | ||
Alternate form of the [[KeyPgOptionstatic OPTION STATIC]] statement. | ||
=={{fbdoc item="keyword" value="KeyPgRedim|REDIM"}}== | ||
Defines and resizes variable-length arrays. | ||
=={{fbdoc item="keyword" value="KeyPgPreserve|PRESERVE"}}== | ||
Preserves array contents when used with [[KeyPgRedim REDIM]]. | ||
<table class="fb_box"><a name="DEFINE"></a>**<u>Définition de tableaux</u>** | ||
**[[KeyPgOptiondynamic Option Dynamic]]** | ||
Force un tableau à être défini comme un tableau de longueur-variable. | ||
**[[KeyPgMetaDynamic '$Dynamic]]** | ||
Autre forme de [[KeyPgOptiondynamic Option Dynamic]]. | ||
**[[KeyPgOptionstatic Option Static]]** | ||
Annule une commande [[KeyPgOptiondynamic Option Dynamic]] précédente. | ||
**[[KeyPgMetaStatic '$Static]]** | ||
Autre forme de [[KeyPgOptionstatic Option Static]]. | ||
**[[KeyPgRedim ReDim]]** | ||
Définit et redimensionne un tableau de longueur-variable. | ||
**[[KeyPgPreserve Preserve]]** | ||
Préserve le contenu du tableau lorsqu'il est utilisé avec [[KeyPgRedim ReDim]]. | ||
|
||
<<>>{{anchor name="CLEAR"}}{{fbdoc item="section" value="Clearing Array Data"}} | ||
=={{fbdoc item="keyword" value="KeyPgErase|ERASE"}}== | ||
Destroys variable-length array elements and initializes fixed-length array elements. | ||
;<a name="CLEAR"></a>**<u>Effacement des données d'un tableau</u>** | ||
**[[KeyPgErase Erase]]** | ||
Détruit les éléments d'un tableau de longueur-variable et initialise les éléments du tableau de longueur-fixe. | ||
|
||
{{anchor name="SIZE"}}{{fbdoc item="section" value="Retrieving Array Size"}} | ||
=={{fbdoc item="keyword" value="KeyPgLbound|LBOUND"}}== | ||
Returns the lower bound of an array's dimension. | ||
=={{fbdoc item="keyword" value="KeyPgUbound|UBOUND"}}== | ||
Returns the upper bound of an array's dimension. | ||
<a name="SIZE"></a>**<u>Récupération de la taille d'un tableau</u>** | ||
**[[KeyPgLbound LBound]]** | ||
Renvoie la limite inférieure d'une dimension d'un tableau. | ||
**[[KeyPgUbound UBound]]** | ||
Renvoie la limite supérieure d'une dimension d'un tableau. | ||
|
||
>>::c:: | ||
;</table><div style="clear:both"> | ||
|
||
{{fbdoc item="back" value="DocToc|Table of Contents"}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
{{fbdoc item="title" value="Bit Manipulation"}}---- | ||
Macros that work with the bits and bytes of numbers. | ||
Macros qui travaillent avec les bits et les octets des nombres. | ||
|
||
{{fbdoc item="desc"}} | ||
The macros documented here provide access to the individual bits, bytes and words of integer values. | ||
Les macros documentées ici donnent accès individuellement aux bits, octets et mots des valeurs entières. | ||
|
||
**{{anchor name="BYTEMACROS|Byte Manipulation Macros"}}** | ||
Gets the value of individual bytes or words of ##[[KeyPgUinteger Uinteger]]## values. | ||
**{{anchor name="BITMACROS|Bit Manipulation Macros"}}** | ||
Gets the state of individual bits of numeric values. | ||
**[[#BYTEMACROS">Macros de manipulation des octets]]** | ||
Obtient la valeur d'octets ou des mots des valeurs ##[[KeyPgUinteger UInteger]]##. | ||
**[[#BITMACROS">Macros de manipulation des bits]]** | ||
Obtient l'état individuel des bits de valeurs numériques. | ||
|
||
<<{{anchor name="BYTEMACROS"}}{{fbdoc item="section" value="Byte Manipulation Macros"}} | ||
=={{fbdoc item="keyword" value="KeyPgLoByte|LOBYTE"}}== | ||
Gets the least significant byte (LSB, or //lo-byte//) value of an ##[[KeyPgUinteger Uinteger]]## value. | ||
=={{fbdoc item="keyword" value="KeyPgHibyte|HIBYTE"}}== | ||
Gets the most significant byte (MSB, or //hi-byte//) value of the least significant word (LSW, or //lo-word//) of an ##[[KeyPgUinteger Uinteger]]## value. | ||
=={{fbdoc item="keyword" value="KeyPgLoWord|LOWORD"}}== | ||
Gets the least significant word (LSW, or //lo-word//) value of an ##[[KeyPgUinteger Uinteger]]## value. | ||
=={{fbdoc item="keyword" value="KeyPgHiword|HIWORD"}}== | ||
Gets the most significant word (LSW, or //hi-word//) value of an ##[[KeyPgUinteger Uinteger]]## value. | ||
<table class="fb_box"><a name="BYTEMACROS"></a>**<u>Macros de manipulation des octets</u>** | ||
**[[KeyPgLoByte LoByte]]** | ||
Obtient la valeur de l'octet le moins significatif (LSB = Least Significant Byte , ou //lo-byte//) d'une valeur ##[[KeyPgUinteger UInteger]]##. | ||
**[[KeyPgHibyte HiByte]]** | ||
Obtient la valeur de l'octet le plus significatif (MSB = Most Significant Byte , ou //hi-byte//) d'une valeur ##[[KeyPgUinteger UInteger]]##. | ||
**[[KeyPgLoWord LoWord]]** | ||
Obtient la valeur du mot le moins significatif (LSW = Least Significant Word , ou //lo-word//) d'une valeur ##[[KeyPgUinteger UInteger]]##. | ||
**[[KeyPgHiword HiWord]]** | ||
Obtient la valeur du mot le plus significatif (MSW = Most Significant Word , ou //hi-word//) d'une valeur ##[[KeyPgUinteger UInteger]]##. | ||
|
||
<<>>{{anchor name="BITMACROS"}}{{fbdoc item="section" value="Bit Manipulation Macros"}} | ||
=={{fbdoc item="keyword" value="KeyPgBit|BIT"}}== | ||
Gets the state of an individual bit in an integer value. | ||
=={{fbdoc item="keyword" value="KeyPgBitreset|BITRESET"}}== | ||
Gets the value of an integer with a specified bit cleared. | ||
=={{fbdoc item="keyword" value="KeyPgBitset|BITSET"}}== | ||
Gets the value of an integer with a specified bit set. | ||
;<a name="BITMACROS"></a>**<u>Macros de manipulation des bits</u>** | ||
**[[KeyPgBit Bit]]** | ||
Obtient l'état individuel d'un bit dans une valeur entière. | ||
**[[KeyPgBitreset BitReset]]** | ||
Obtient la valeur d'un entier dont on a positionné un certain bit à zéro. | ||
**[[KeyPgBitset BitSet]]** | ||
Obtient la valeur d'un entier dont on a positionné un certain bit à 1. | ||
|
||
>>::c:: | ||
;</table><div style="clear:both"> | ||
|
||
{{fbdoc item="back" value="DocToc|Table of Contents"}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,47 @@ | ||
{{fbdoc item="title" value="Converting Data Types"}}---- | ||
Operators and procedures that convert between different types. | ||
Opérateurs et procédures qui réalisent des conversions entre différents types. | ||
|
||
**{{anchor name="GENERIC|Generic conversions"}}** | ||
Operators to convert between arbitrary types. | ||
**{{anchor name="INTEGRAL|Conversions to integral types"}}** | ||
Operators to convert to integral types. | ||
**{{anchor name="FLOATING|Conversions to floating-point types"}}** | ||
Operators to convert to floating-point types. | ||
**{{anchor name="STRING|Conversions to/from string types"}}** | ||
Operators to convert top an from string types. | ||
**[[#GENERIC">Conversions génériques]]** | ||
Opérateurs pour des conversions entre types génériques. | ||
**[[#INTEGRAL">Conversions vers des types nombres entiers]]** | ||
Opérateurs pour des conversions vers des types nombres entiers. | ||
**[[#FLOATING">Conversions vers des types à virgule flottante]]** | ||
Opérateurs pour des conversions vers des types à virgule flottante. | ||
**[[#STRING">Conversions vers/à partir de types chaînes]]** | ||
Opérateurs pour des conversions vers/à partir de types chaînes. | ||
|
||
<<{{anchor name="GENERIC"}}{{fbdoc item="section" value="Generic conversions"}} | ||
=={{fbdoc item="keyword" value="KeyPgCast|CAST"}} and {{fbdoc item="keyword" value="KeyPgCptr|CPTR"}}== | ||
Converts expressions between different types. | ||
<table class="fb_box"><a name="GENERIC"></a>**<u>Conversions génériques</u>** | ||
**[[KeyPgCast Cast]] et [[KeyPgCptr CPtr]]** | ||
Conversion d'expressions entre différents types. | ||
|
||
{{anchor name="INTEGRAL"}}{{fbdoc item="section" value="Conversions to integral types"}} | ||
=={{fbdoc item="keyword" value="KeyPgCbyte|CBYTE"}} and {{fbdoc item="keyword" value="KeyPgCubyte|CUBYTE"}}== | ||
Converts numeric expressions to 8-bit values. | ||
=={{fbdoc item="keyword" value="KeyPgCshort|CSHORT"}} and {{fbdoc item="keyword" value="KeyPgCushort|CUSHORT"}}== | ||
Converts numeric expressions to 16-bit values. | ||
=={{fbdoc item="keyword" value="KeyPgCint|CINT"}} and {{fbdoc item="keyword" value="KeyPgCuint|CUINT"}}== | ||
Converts numeric expressions to 32-bit values. | ||
=={{fbdoc item="keyword" value="KeyPgClng|CLNG"}} and {{fbdoc item="keyword" value="KeyPgCulng|CULNG"}}== | ||
Converts numeric expressions to 32-bit or 64-bit values. | ||
=={{fbdoc item="keyword" value="KeyPgClngint|CLNGINT"}} and {{fbdoc item="keyword" value="KeyPgCulngint|CULNGINT"}}== | ||
Converts numeric expressions to 64-bit values. | ||
=={{fbdoc item="keyword" value="KeyPgCsign|CSIGN"}}== | ||
Converts a numeric expression to a signed-type value. | ||
=={{fbdoc item="keyword" value="KeyPgCunsg|CUNSG"}}== | ||
Converts a numeric expression to an unsigned-type value. | ||
<<>>{{anchor name="FLOATING"}}{{fbdoc item="section" value="Conversions to floating-point types"}} | ||
=={{fbdoc item="keyword" value="KeyPgCsng|CSNG"}} and {{fbdoc item="keyword" value="KeyPgCdbl|CDBL"}}== | ||
Converts a numeric or string expression to floating-point values. | ||
<a name="INTEGRAL"></a>**<u>Conversions vers des types nombres entiers</u>** | ||
**[[KeyPgCbyte CByte]] and [[KeyPgCubyte CUByte]]** | ||
Conversion d'expressions numériques vers des valeurs 8-bit. | ||
**[[KeyPgCshort CShort]] et [[KeyPgCushort CUShort]]** | ||
Conversion d'expressions numériques vers des valeurs 16-bit. | ||
**[[KeyPgCint CInt]] et [[KeyPgCuint CUInt]]** | ||
Conversion d'expressions numériques vers des valeurs 32-bit. | ||
**[[KeyPgClng CLng]] et [[KeyPgCulng CULng]]** | ||
Conversion d'expressions numériques vers des valeurs 32-bit ou 64-bit. | ||
**[[KeyPgClngint CLngInt]] et [[KeyPgCulngint CULngInt]]** | ||
Conversion d'expressions numériques vers des valeurs 64-bit. | ||
**[[KeyPgCsign CSign]]** | ||
Conversion d'une expression numérique vers une valeur signée. | ||
**[[KeyPgCunsg CUnsg]]** | ||
Conversion d'une expression numérique vers une valeur non-signée. | ||
;<a name="FLOATING"></a>**<u>Conversions vers des types à virgule flottante</u>** | ||
**[[KeyPgCsng CSng]] et [[KeyPgCdbl CDbl]]** | ||
Conversion d'une expression numérique ou d'une chaîne vers une valeur à virgule flottante. | ||
|
||
{{anchor name="STRING"}}{{fbdoc item="section" value="Conversions to/from string types"}} | ||
=={{fbdoc item="keyword" value="KeyPgStr|STR"}} and {{fbdoc item="keyword" value="KeyPgWstr|WSTR"}}== | ||
Converts numeric expressions to a numeric string representation. | ||
=={{fbdoc item="keyword" value="KeyPgVal|VAL"}}== | ||
Converts a numeric string expression to a floating-point value. | ||
=={{fbdoc item="keyword" value="KeyPgValint|VALINT"}} and {{fbdoc item="keyword" value="KeyPgValuint|VALUINT"}}== | ||
Converts numeric string expressions to integer values. | ||
=={{fbdoc item="keyword" value="KeyPgVallng|VALLNG"}} and {{fbdoc item="keyword" value="KeyPgValulng|VALULNG"}}== | ||
Converts numeric string expressions to long values. | ||
>>::c:: | ||
<a name="STRING"></a>**<u>Conversions vers/à partir de types chaînes</u>** | ||
**[[KeyPgStr Str]] et [[KeyPgWstr WStr]]** | ||
Conversion d'une expression numérique vers une chaîne représentation numérique. | ||
**[[KeyPgVal Val]]** | ||
Conversion d'une chaîne expression numérique vers une valeur à virgule flottante. | ||
**[[KeyPgValint ValInt]] et [[KeyPgValuint ValUInt]]** | ||
Conversion d'une chaîne expression numérique vers une valeur entière. | ||
**[[KeyPgVallng ValLng]] et [[KeyPgValulng ValULng]]** | ||
Conversion d'une chaîne expression numérique vers une valeur "long". | ||
;</table><div style="clear:both"> | ||
|
||
{{fbdoc item="back" value="DocToc|Table of Contents"}} |
Oops, something went wrong.