Can you provide an example using the FAPI, I just can't make it work.

<?php
$form['somefield'] = array(
  '#type' => 'textfield',
  '#default_value' => queryable_variables_get("somefield_variable", ''),
  ...
);
?>

Thanks