home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!idtg!cwp
- From: cwp@idtg.UUCP (Chuck Phillips)
- Newsgroups: comp.cad.cadence
- Subject: Re: edge skill questions
- Message-ID: <486@idtg.UUCP>
- Date: 21 Jul 92 15:43:55 GMT
- References: <lyndon.711657463@angelo>
- Organization: Integrated Device Technology, Santa Clara
- Lines: 35
-
- In article <lyndon.711657463@angelo> lyndon@angelo.amd.com (Lyndon C. Lim) writes:
- >
- >hi. i've been struggling with the following piece of skill
- >code and was hoping for some pointers/suggestions.
- >
- >i wanted a generic type checking routine which would use the
- >internal type checking ability instead of a large case construct
- >and all the predicate functions.
- >
-
- Perhaps I am missing the intent. As I understand it, the intent is to
- check the "type" of a given variable or symbol. If this is true why not
- just use the "type()" function? It is listed on page 2-10 (at the bottom
- of the table) of the Edge Skill Manual. There is no other documentation
- on it - and no examples. If this is what you want try playing with it.
-
- aa=list(1 2 3)
- bb="1 2 3"
-
- type(aa) --> list
- type(car(aa) --> fixnum
- type(bb) --> string
-
-
- ==============================================================================
- |Chuck Phillips | |
- |Integrated Device Technology, Inc |Just so you know who to |
- |2670 Seeley Ave |contact and that they |
- |San Jose, CA 95134 |exist - not that I speak |
- |(408)944-2052 |for, or on behalf of, |
- |(408)944-2195 (FAX) |any of them. |
- |uunet.uu.net!idtg!cwp | |
- |International Cadence User Group-Layout SIG Chair|I speak alone! |
- |Bay Area Cadence User People, BACUP, Chair | |
- ==============================================================================
-