[plt-scheme] gui-exe problem

From: ifconfig (dor at ntr.co.il)
Date: Mon Jan 26 19:34:26 EST 2004

What is the #f in
(define frame (make-object frame% "Arf" #f 20 10))
supposed to be?
Maybe you should use
(instantiate frame% ()
  [label "Arf"]
  [min-width 20]
  [min-height 10])
? It might be possible that they added an init-field before whatever the #f
is supposed to be...

Dor Kleiman
NTR Visual Technologies Ltd.
03-5627672, 064-326363
dor at ntr.co.il
----- Original Message ----- 
From: "Ron Stanonik" <stanonik at Cogsci.ucsd.edu>
To: <plt-scheme at list.cs.brown.edu>
Sent: Tuesday, January 27, 2004 2:19 AM
Subject: [plt-scheme] gui-exe problem


>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
> A scheme gui-exe used to work (plt 205, linux and windows), but
> doesn't now (plt 206).
>
> Here's a simplified version, arf.ss
>
> (module arf mzscheme
>   (require (lib "class.ss"))
>   (require (lib "mred.ss" "mred"))
>   (define frame (make-object frame% "Arf" #f 20 10))
>   (send frame show #t)
> )
>
>
> It compiles.
>
> [stanonik at duckfeet grades]$ mzc --gui-exe arf arf.ss
> MzScheme compiler (mzc) version 206, Copyright (c) 2004 PLT Scheme, Inc.
>  [output to "arf"]
>
> But fails to run.
>
> [stanonik at duckfeet grades]$ ./arf
> simplify-path: expects argument of type <string>; given #f
>
> Any suggestions?
>
> Thanks,
>
> Ron
> stanonik at cogsci.ucsd.edu
>
>




Posted on the users mailing list.