1. RE: procedure putStream()

putStream() is expecting a sequence {'f'} or "f", but it's getting an 
atom 'f'.

Chris

jordah ferguson wrote:
> hi all, i get this everytime my prog crashes i get this anyone know 
> why??
> jordah Ferguson
> 
> C:\aaa\win32lib.ew:5452 in procedure putStream() 
> type_check failure, streamin is 102'f' 
>     id = 5
>     flags = 1
>     streamin = 102'f'
>     uFormat = <no value>
>     EDITSTREAM = <no value>
> 
>

new topic     » topic index » view message » categorize

2. RE: procedure putStream()

> -----Original Message-----
> From: jordah ferguson [mailto:jorfergie03 at yahoo.com]

> hi all, i get this everytime my prog crashes i get this anyone know 
> why??
> jordah Ferguson
> 
> C:\aaa\win32lib.ew:5452 in procedure putStream() 
> type_check failure, streamin is 102'f' 
>     id = 5
>     flags = 1
>     streamin = 102'f'
>     uFormat = <no value>
>     EDITSTREAM = <no value>

It looks like you're passing an integer instead of a sequence for the text.
When I find this sort of error in my own code, it usually means I've gone
too deep when indexing a sequence: text[i][j] instead of text[i].

Matt Lewis

new topic     » goto parent     » topic index » view message » categorize

3. RE: procedure putStream()

thanx a lot. i know it was quite an amatuer question but the reason i 
asked it was because i couldn't figure out how and why this atom was 
being sent to putstream. or where this atom was coming from, it was the 
first time i ever received such a message.
my program only sends sequences to putstream....

anyway, i found out the bug last night and its all good.

jordah

Chris Bensler wrote:
> putStream() is expecting a sequence {'f'} or "f", but it's getting an 
> atom 'f'.
> 
> Chris
> 
> jordah ferguson wrote:
> > hi all, i get this everytime my prog crashes i get this anyone know 
> > why??
> > jordah Ferguson
> > 
> > C:\aaa\win32lib.ew:5452 in procedure putStream() 
> > type_check failure, streamin is 102'f' 
> >     id = 5
> >     flags = 1
> >     streamin = 102'f'
> >     uFormat = <no value>
> >     EDITSTREAM = <no value>
> > 
> >

new topic     » goto parent     » topic index » view message » categorize

4. RE: procedure putStream()

Thx alot Matt, you are absolutetly right!. last night as i was checking 
my code i found out exactly what you had said. about the stub for 
getIndex problem, i don't think i should bother since Derek said he is 
rewritting the listview routines.

jordah ferguson

Matthew Lewis wrote:
> 
> > -----Original Message-----
> > From: jordah ferguson [mailto:jorfergie03 at yahoo.com]
> 
> > hi all, i get this everytime my prog crashes i get this anyone know 
> > why??
> > jordah Ferguson
> > 
> > C:\aaa\win32lib.ew:5452 in procedure putStream() 
> > type_check failure, streamin is 102'f' 
> >     id = 5
> >     flags = 1
> >     streamin = 102'f'
> >     uFormat = <no value>
> >     EDITSTREAM = <no value>
> 
> It looks like you're passing an integer instead of a sequence for the 
> text.
> When I find this sort of error in my own code, it usually means I've 
> gone
> too deep when indexing a sequence: text[i][j] instead of text[i].
> 
> Matt Lewis
> 
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu