go to www.geomview.org home page
 
Home

Overview
FAQ
Documentation

Download

Mailing List

Geomview For Windows?

Support
Users
Development

Bug Reporting
Contributing
Contact Us

Sponsors

 

Site Search

 

Advanced
Search

 
About the software@geom archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

if command


  • To: software
  • Subject: if command
  • From: fowler
  • Date: Thu, 7 Jan 93 12:11:17 -0600

The if command and the progn command seem to be having a few problems
interacting.  

This works fine:
(if (sgi) (echo "true\n") (echo "false\n"))
and prints out "true" (or "false," as the case may be).

This works:
(if (sgi) (progn (echo "true\n")) (progn (echo "false\n")))
but prints out "true\nfalse"

I also found a fun trick: making macros by putting things like 
(emodule-define encompass "echo (look-encompass World)")
and 
(emodule-define dodec 
	"echo \"(geometry dodec.off < /u/gcg/ngrap/data/geom/dodec.off)\"")
[this is handy on the NeXT which seems to not find the standard
geomview path] into your .geomview file.

-Celeste 

ps thank you stuart for fixing the emodule exit == core dump bug.


 
Home | Overview | FAQ | Documentation | Support | Download | Mailing List
Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors
 
site hosted by
SourceForge Logo