From: Teodor Carstea Date: 2009-12-03T00:49:57+09:00 Subject: Re: Graphics mode >C++ doesn't have a way to "initialize graphics mode" Well, this is the way I do it in C++: #include void main(){ //initializing graphics mode int gdriver=DETECT, gmode, errorcode; initgraph(&gdriver, &gmode, "C:\\Progra~1\\BORLANDC\\BGI"); errorcode = graphresult(); if(errorcode!=grOk) { cout<<"Graphics error!!!\n" <<"Press any key..."; getch(); exit(1); } //... //AND HERE IS DA MAIN PROGRAM CODE. //... } I'd like to make my ruby prog like this. Any Ideas? P.S.: If you have an idea, please describe it in a way you would talk to a noob, for I'm really green. Plus, I use Ubuntu, no comment. Thanks! -- Posted via http://www.ruby-forum.com/.