Home > dev > api > name > gb.store 
 en fr de es it nl pl pt pt_BR mk sq hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Search  Administration  
Documentation  
Warning! This page is not translated.  See english version 
GB.Store
void GB.Store ( GB_TYPE type , GB_VALUE *src , void *dst )

Store a Gambas value into memory.

If something was stored in dst, it is released before being replaced by the new value, depending on the datatype found: String, Object and Variant need being released, not the other datatypes.

Use this method only if you don't know the datatype at compile time.

Otherwise, use the specialized methods: GB.StoreString, GB.StoreObject, or GB.StoreVariant.

If you want to store the other datatypes (Integer, Date, ...), store them directly in memory. It is faster !

See also

api/cat/store