1. Need help with procedure
- Posted by Piotr Dubla <voretex at NEW.CO.ZA> Feb 12, 1998
- 996 views
- Last edited Feb 13, 1998
Hi I need help waith a procedure I add to a .e file this command global procedure load_guy() sequence t1 object rwalk1, rwalk2, rwalk3, rwalk4, rwalk5 object lwalk1, lwalk2, lwalk3, lwalk4, lwalk5 -- right walk -- t1 = read_bitmap("rwalk1.bmp") rwalk1 = t1[2] ....... until end procedure but when I add it in my main program and specify display_image({x,y},rwalk1) it says it does not know rwalk1. How do I get around this Please can somebody help me Piotr
2. Re: Need help with procedure
- Posted by Pete Eberlein <xseal at HARBORSIDE.COM> Feb 12, 1998
- 894 views
On Thu, 12 Feb 1998, Piotr Dubla wrote: > Hi I need help waith a procedure I add to a .e file this command > -- These objects must also be declared as global for them to be visible -- outside of the .e file. They also cannot be inside load_guy(). global object rwalk1, rwalk2, rwalk3, rwalk4, rwalk5 global object lwalk1, lwalk2, lwalk3, lwalk4, lwalk5 > global procedure load_guy() > sequence t1 > > -- right walk -- > t1 = read_bitmap("rwalk1.bmp") > rwalk1 = t1[2] > ....... until > end procedure > > but when I add it in my main program and specify display_image({x,y},rwalk1) > it says it does not know rwalk1. How do I get around this > > Please can somebody help me > > Piotr > -- _____ _____ _____ ________ /\ \ /\ \ /\ \ / \ \ / \____\ / \____\ / \____\ / _ \____\ / / ___/_ / /____/ / / ___/_ / / \ |____|/ / /\____\ / \ \ / / /\____\ \ \_/ / / \ \/ / ___/_\ \ \ \ \/ / ___/_ \ /____/ \ / /\ \\/\ \ \ \ / /\ \ \ \ \ \ \/ \____\ \ \ \ \ \/ \____\ \ \ \ \ / / \ \____\ \ / / \ \____\ \ / / \ / / \ / / \ / / \ / / \/____/ \ / / \/____/ \/____/xseal at harborside.com\/____/