Re: XForms: fl_load_browser problem.

T.C. Zhao (tc_zhao@yahoo.com)
Mon, 17 Aug 1998 20:45:00 -0700 (PDT)

# To subscribers of the xforms list from "T.C. Zhao" <tc_zhao@yahoo.com> :

---Amit Bhatnagar <amit@eduplus.ca> wrote:
>
> # To subscribers of the xforms list from Amit Bhatnagar
<amit@eduplus.ca> :
>
> How come fl_load_browser (obj, "/navtech/nav/data/scenario/METAR50");
> works okay.. but doing this
> char path_and_filename [ 1024], filename [1024];
> strcpy (filename, fl_get_browser_line (browser, line_number));
> sprintf (path_and_filename, "/navtech/nav/data/%s", filename);
> fl_load_browser (obj, path_and_filename);
> doesn't work?

Well, the short answer is that path_and_filename is different
from what you think it is, i.e., it is not
"/navtech/nav/data/scenario/METAR50". You can easily verify this
by doing a strcmp(path_and_filename, whatever_you_think_it_is)
right before fl_load_browser().

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at /cgi-bin/exit-to?http://mail.yahoo.com

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/