![]() |
Setting variables.
When i try to set a message code as a variable, i always seem to get an error message. Say if i wanted to:
this.myvar=#p(0); I would get Error: Expected format var, var[i], obj[i].attr, function(a), function(a,b). How do i save message codes to variables sucessfully? Thanx! |
as far as I know all #variables are strings, you would need to either setstring or to use strtofloat
|
Quote:
Inorder to set #p(0) to a variable you must use strtofloat(). |
ah, works. Thanks guys :-D
|
| All times are GMT +2. The time now is 07:04 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.