fn_input
Contents
Syntax
x = fn_input([name][,defaultval][,min,max]) x = fn_input([name][,defaultval][,spec])
Description
this is a small wrapper for function fn_structedit, to prompt user for a single value; normally if defaultval, min and max are integers, x will also be integer
fn_input('text') is ambiguous and will result in a numeric output use fn_input('name','text') for a string output (with 'text' as default) fn_input('text','char') is also ambiguous and will result in an empty default use fn_input('name','text','char') to have 'text' as string default
See also fn_structedit, fn_control, fn_reallydlg
Source
Thomas Deneux
Copyright 2007-2017