It is currently Fri Dec 13, 2019 4:19 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Weird problem with macro and TB
PostPosted: Thu Mar 03, 2011 7:33 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Jan 29, 2010 1:05 pm
Posts: 221
Location: Brazil
Hi again...

I'm having a very very weird problem with a macro and tailbite...
It's problably my fault, but who knows...

I was just testing tb and had the "smart" idea to compile a lib with a macro that I use a lot in it...

Code:
Macro Rand(min, max)
 (Random(max-min)+min)
EndMacro


It obviously(or not) gave me an error msg and didn't compile the lib... There's no new lib in UserLibs folder...

But now when I try to use that macro again I get a macro error:
Quote:
Macro (Random(max-min)+min)

That is like the macro already exists...

How is that possible?
And now theres no file to delete to fix it since the lib was aparently not created... oh god...

Thanks in advance!

ps: Oh, and the most weird thing: if I use Rand(x,y) anywhere, it still works!
Where did this lib go? lol
ps2: It still works when i use it in a new blank file with no includes... just to be clear.


Top
 Profile  
Reply with quote  
 Post subject: Re: Weird problem with macro and TB
PostPosted: Thu Mar 03, 2011 10:30 am 
Offline
Addict
Addict

Joined: Sat Apr 10, 2004 1:20 pm
Posts: 1143
Location: Germany
its gone Resident :wink:

just have a look in your ...\PureBasic\Residents\ folder.

Br Klaus


Top
 Profile  
Reply with quote  
 Post subject: Re: Weird problem with macro and TB
PostPosted: Thu Mar 03, 2011 6:17 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Jan 29, 2010 1:05 pm
Posts: 221
Location: Brazil
You know.. I actually LIKED it :mrgreen:
I hope I can reproduce It again when needed :D

Thank you.


Top
 Profile  
Reply with quote  
 Post subject: Re: Weird problem with macro and TB
PostPosted: Thu Mar 03, 2011 9:27 pm 
Offline
Addict
Addict

Joined: Sat Apr 10, 2004 1:20 pm
Posts: 1143
Location: Germany
oh thats easy, just compile your resident without any procedure(dll) :twisted:


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye