Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
S
 save, ext.gfx.png
 Scale, matrix
 Scale2X, ext.gfx
 set, BitArray
 setHelpFooter, Parser
 setHelpHeader, Parser
 setImage, Image
 SetImage, Sprite
 SetPlacementAddress
 shl64, global
 showHelp, Parser
 shr64, global
 shuffle, ext.strings
 Shuffle
 shuffleCopy, XString
 ShuffleCopy, ext.strings
 size, BitArray
 Size
 sliceArray, ext
 Split
 StrRChr, ext.php
 Substr, XString
 SubStr, ext.strings
 SubstrCompare, XString
 SubStrCompare, ext.strings
 SubstrCount, XString
 SubStrCount, ext.strings
 SubstrReplace, XString
 SubStrReplace, ext.strings
 Swap_
T
 t, XString
 temp, dir
 tempPath, dir
 toggle, BitArray
 tokenize, ext.strings
 toNativeSeperators, dir
 Top, fbext_Stack
 Transform
 Translate, matrix
 Triangle
 Trim, XString
declare function save cdecl alias "png_save" (
   byref filename as const string,
   byval img as const FB.IMAGE ptr
) as integer
Saves a png image from a memory buffer.
declare sub Scale(byref scalar as single)
Scales each axis of the matrix by scalar
declare sub Scale2X(byref dst as FB.IMAGE ptr =  0,
byref src as const FB.IMAGE ptr,  
byref positx as integer,  
byref posity as integer  )
performs the Scale2X algorithm on an image.
declare sub set(byval bit_ as SizeType)
Sets the value of a certain bit to 1 or on.
declare sub setHelpFooter(byref s as string)
Sets the text to show after the options list when showHelp is called.
declare sub setHelpHeader(byref s as string)
Sets the text to show before the options list when showHelp is called.
declare sub setImage(byval _x_ as FB.IMAGE ptr)
Sets the image to handle, freeing the current image if necessary.
declare sub SetImage(byval index as uinteger,
byval img as FB.IMAGE ptr)
Assigns a FB.IMAGE to a frame.
Sets a new address that is used for in-place construction and destruction of objects.
declare function shl64(byval ovar as ulongint,
byval sbits as integer) as ulongint
The FreeBASIC compiler does not currently support bit shifting with 64 bit datatypes.
declare sub showHelp()
Shows the built-in help for all known options.
declare function shr64(byval ovar as ulongint,
byval sbits as integer) as ulongint
The FreeBASIC compiler does not currently support bit shifting with 64 bit datatypes.
Randomly shuffles the characters in the string.
declare sub Shuffle (subject() as string)
Randomly shuffles the characters in each of an array of strings.
declare sub Shuffle ( )
Randomly shuffles the characters in the string.
Randomly shuffles the characters in the string
declare function ShuffleCopy overload (byref subject as const string) as string
Randomly shuffles the characters in the string.
declare sub size(byval num as SizeType)
Used to set the initial size of the bitfield, will not work if the num constructor is used.
declare const function Size ( ) as SizeType
Gets the number of elements in the array.
declare const function Size ( ) as ext.SizeType
Returns the size of the queue.
declare const function Size ( ) as ext.SizeType
Returns the size of the Stack.
declare const function Size ( ) as SizeType
Gets the number of elements in the list.
declare sub sliceArray overload (src() as fbext_TypeName(T_) ,
dest() as fbext_TypeName(T_) ,
byval start_ as uinteger,
byval end_ as uinteger)
Copies a portion of an Array into a new array.
declare function Split overload (byref subject as const string,
result() as string,
byref delimiter as const string,
byval limit as integer) as integer
Splits a string into an array.
declare function Split (result() as string,
byref delimiter as const string,
byval limit as integer) as integer
Splits the string into an array.
declare function StrRChr overload (byref text as const string,
byref char as const string) as string
Returns the substring of text that begins at the last occurrence of the character specified in char and contains the remaining characterse of text.
declare function Substr (byval offset as integer =  0) as XString
Returns a portion of a string.
declare function SubStr overload (byref subject as const string,  
byval offset as integer =  0) as string
Returns a portion of a string.
declare const function SubstrCompare (byref b as const string,  
byval offset as integer =  0) as integer
Compares a portion of an XString with another.
declare function SubStrCompare overload (
   byref a as const string,  
   byref b as const string,  
   byval offset as integer =  0
) as integer
Compares a substring with another.
declare const function SubstrCount (byref needle as const string,  
byval offset as integer =  0) as integer
Finda the number of strings contained in the XString.
declare function SubStrCount overload (
   byref haystack as const string,  
   byref needle as const string,  
   byval offset as integer =  0
) as integer
Finds the number of substrings within a string.
declare sub SubstrReplace (byref replacement as const string,  
byval offset as integer =  0)
Replaces a portion of the XString with another.
declare sub SubStrReplace overload (byref subject as string,  
byref replacement as const string,  
byval offset as integer =  0)
Replaces a substring with another.
declare sub Swap_ (byref x as fbext_SharedPtrArray(T_))
Swaps the value of this fbext_SharedPtrArray(T_) with another.
declare sub Swap_ (byref x as typeof( fbext_Array(( T_)( Allocator_)) ))
Swaps the contents of the array with another in constant time.
declare sub Swap_ (byref x as fbext_SharedPtr(T_))
Swaps the value of this fbext_SharedPtr(T_) with another.
declare function t(byref rhs as string) as xstring
Constructs a XString from a String.
declare function temp () as Directory
Returns a Directory object pointing to the system’s temporary directory.
declare function tempPath () as string
Returns a string containing the path to the system’s temporary directory.
declare sub toggle(byval bit_ as SizeType)
Toggles the value of a certain bit.
declare function tokenize(byval x as zstring ptr =  0,
byref tkns as const string,  
byval lastfound as ubyte ptr =  0,
byval eattkns as bool =  true) as string
Splits a string into tokens, similiar to C’s strtok.
Converts all seperators in the passed string to the seperators the current platform expects.
declare function Top () as fbext_TypeName(T_) ptr
Returns a pointer to the top-most element in the stack.
declare function Transform overload (
   byval first as fbext_TypeName(T_) ptr,
   byval last as fbext_TypeName(T_) ptr,
   byval result as fbext_TypeName(T_) ptr,
   byval op as function ( byref as fbext_TypeName(T_) ) as fbext_TypeName(T_)
) as fbext_TypeName(T_) ptr
Applies an operation //op// on each element in the range [//first//, //last//), storing the results of the transformation in the range starting at //result//.
declare sub Translate(byref x as single,
byref y as single,
byref z as single)
generic translation function
declare sub Triangle overload (byval dst as FB.IMAGE ptr =  0,
byval x1 as integer,  
byval y1 as integer,  
byval x2 as integer,  
byval y2 as integer,  
byval x3 as integer,  
byval y3 as integer,  
byval col as uinteger =  rgba(255,255,255,255))
Draws a flat shaded triangle.
declare sub Trim ( )
Trims whitespace from both sides of the XString object