Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Simple start, weird problem

Author
Message
Garion
16
Years of Service
User Offline
Joined: 7th Dec 2007
Location: Poland
Posted: 13th Jan 2008 13:59
Hallo. I'm new to DB, I try to read diffrent tutorials and learn.

I was reading about functions and decided to try them and have this problem:

This code works:



But when I use a function, It doesn't.



Can You please tell me where the problem lies?
TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 13th Jan 2008 14:10 Edited at: 13th Jan 2008 14:11
Put the function at the end - after the Do..Loop.

See tutorial 6 here

TDK_Man

Garion
16
Years of Service
User Offline
Joined: 7th Dec 2007
Location: Poland
Posted: 13th Jan 2008 14:11
Thank You
TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 13th Jan 2008 14:13
No problem - I edited my post to link to my tutorial on functions if it's any use to you...

TDK_Man

Garion
16
Years of Service
User Offline
Joined: 7th Dec 2007
Location: Poland
Posted: 13th Jan 2008 15:15 Edited at: 13th Jan 2008 18:39
I have another silly question... But I'm thinking it over and over and can't find any sense.



When I put rem before calling function - MakeMap(1), everything works. Otherwise (when the code looks like I posted) I only get a black screen.....


EDIT
Never mind It's working now.

Login to post a reply

Server time is: 2024-09-27 10:37:55
Your offset time is: 2024-09-27 10:37:55