![]() |
getlines() not returning
The functions getlines() and getlinecount() are returning nothing but when I do something else like gettext() it returns correctly.
This is all in a for loop when displaying messages PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Might it be that the string isn't coercing in to an object?
You could try something on the lines of: PHP Code:
|
Still doesn't seem to work.
|
It seems this is just the behaviour when echo'ing an array rather than a string.
For example it outputs the line count if I do: PHP Code:
PHP Code:
|
I tried doing what you did and got zeros like before. I seem to have bad luck with this, or I just screwed up somewhere in the script. :(
This is the part where it seems to be messing up, if anyone can see anything wrong. PHP Code:
|
The problem seems to be something else, lines are being echo'd fine for me when I do:
PHP Code:
Quote:
|
Looks like code from the iOS PM system...? Correct me if I'm wrong
Replace HTML Code:
temp.obj = makevar("Message_" @ temp.i); HTML Code:
temp.lines = (@("Message_" @ temp.i)).getLines(); |
It is, he works on Delteria IOS and is working on the PM Threading System. I added a temporary fix, because I could not get the lines to work either, So i did.
PHP Code:
|
All times are GMT +2. The time now is 06:49 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.