Raised This Month: $ Target: $400
 0% 

Maximum of global strings?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
dutchmeat
Senior Member
Join Date: Sep 2006
Old 05-02-2007 , 04:32   Maximum of global strings?
Reply With Quote #1

Hey is there a maximum of global strings?

when I store a global variable, it's empty when I use the variable in another function.

Basicly I only have to pass a string on to another function using set_task, but the params argument also fails.

example:

Code:
new string[33] function1(id){ new params[2] copy(string[id],29,"DEBUG") console_print(id,"'%s'",string[id]) //prints 'DEBUG' params[0] = id set_task(3.0,"function2",1111+id,params) } function2(params[]){ new id = params[0] console_print(id,"'%s'",string[id]) //prints '' }
__________________
before you criticize someone, you should walk a mile in their shoes. that way, when you criticize them, you're a mile away and you have their shoes.
dutchmeat is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:35.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode