Home > api > name > gb.push 
 fr de es it nl pl pt pt_BR mk sq ca ar fa vi ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration  
Documentation
History
 
GB.Push
Syntax
void GB.Push ( int nval , ... )

Push values on the interpreter stack.

The values are passed as additional arguments this way : the type of the value, followed by the data representing the value, this being repeated for each value.

When pushing a String, you must give a string pointer and a length.

Examples

GB.Push(4,
  GB_BOOLEAN, 1,
  GB_INTEGER, 1972,
  GB_FLOAT, 3.1416,
  GB_STRING, "Gambas", 6
  );

See also

Calling Functions