Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

[ sisc-Bugs-1440409 ] need to unwrap native current-input-port: msg#00019

Subject: [ sisc-Bugs-1440409 ] need to unwrap native current-input-port
Bugs item #1440409, was opened at 2006-02-28 10:56
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=1440409&group_id=23735

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Yohanes Santoso (ysantoso)
Assigned to: Nobody/Anonymous (nobody)
Summary: need to unwrap native current-input-port

Initial Comment:
SISC (1.11.3) - main

Without the (undocumented) unwrap-native-input-port,
input-port-location failed:

#;> (input-port-location (current-input-port))
Error in input-port-location:
<java.lang.RuntimeException>: expected type input-port,
got '#<record #0=#<record #1=#<reco...'.
console:130:1: <from call to input-port-location>


So, it must be passed through unwrap-native-input-port
first.

#;> (input-port-location (unwrap-native-input-port
(current-input-port)))
((source-file . "console")
  (line-number . 132)
   (column-number . 1))

In contrary to the doc:
procedure:  (input-port-location input-port) => list

Thanks,
YS.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=1440409&group_id=23735


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642


<Prev in Thread] Current Thread [Next in Thread>