|
You need to look at line 21 of your source code to
see what it says instead of "&null". It is likely that you have
misspelled the name of a Unicon library procedure, or that you are not linked to
the library because you have not set the necessary environment
variables.
Also, some library routines require a "link"
statement; I'm not sure which ones do and which ones
don't.============ Dick McCullough knowledge := man do identify
od existent doneknowledge haspart list of
proposition
----- Original Message -----
Sent: Wednesday, November 20, 2002 11:47
PM
Subject: [Unicon-group] Question about
user interface
Hi,
I am a new user of Unicon. I try to learn the
interface part and follow the source code of listing 17-1(the
first ecample of Chapter 17) of the book "Programming in Unicon", but it
dosen't work. I am sure my code is exactly same as in the book, why does
this happen? Here is the error report:
Run-time error 106 File
try.icn; Line 21 procedure or integer expected offending value:
&null Traceback: main()
TestDialog(&null,&null,&null,&null,&null,&null,&null,&null,&null,&null,&null,& null,&null,&null,&null,&null,&null,&null,&null,&null,&null,&null,&null,&null,& null,&null,&null,&null,&null,&null,&null,&null,&null,&null,&null,&null,&null,& null,&null,&null,&null,&null,&null,&null,&null,&null)
from line 23 in try.icn TestDialog_initially(record
TestDialog__state_1(record TestDialog__state_1(48),record
TestDialog__methods_1(91),record
TextButton__state_1(42),&null,&null,&null,set_3(0),&null,&null,&null,&null,&nu ll,&null,&null,500,500,100,&null,&null,&null,&null,&null,&null,list_4(1),&null ,&null,&null,&null,"l","t",&null,&null,&null,&null,&null,list_5(1),&null,&null ,&null,&null,&null,&null,0,&null,&null,&null,&null,&null))
from line 28 in try.icn &null("size=215,150","bg=light
gray","font=serif","resize=on") from line 21 in try.icn
It
seems that the statement "TestDialog()" in the procedure main doesn't
work.
Thanks a lot for any
help!
------------------------------------------------------- This
sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Unicon-group
mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/unicon-group
|