View previous topic :: View next topic |
Author |
Message |
ivangel
Joined: 20 Sep 2010 Posts: 41 Location: Poland
|
Posted: Sun Nov 30, 2014 1:40 pm Post subject: Higher index value for LOOKUPSTR |
|
|
As the topic, it is possible
increase the value index for LOOKUPSTR? I understand that the length of the variable "string" can be up to 254 Byte. "Date" is the perfect place to store, for example: HTML code, but 255 of the code elements very limited. Regards
(BASCOM-AVR version : 2.0.7.7 ) _________________ www.midaz.com.pl |
|
Back to top |
|
|
Evert :-)
Joined: 18 Feb 2005 Posts: 2156
|
|
Back to top |
|
|
ivangel
Joined: 20 Sep 2010 Posts: 41 Location: Poland
|
Posted: Sun Nov 30, 2014 2:18 pm Post subject: Higher index value for LOOKUPSTR |
|
|
Thank you for your answer, but I do not think it would solve the problem. I is not about to give an string element "table" DATA could be longer than 254 Byte, what is it for $BIGSTRINGS, but I can these elements using LOOKUPSTR read more than 255.
From Bacom Help:
Syntax
var = LOOKUPSTR( value, label )
The index value can have a maximum value of 255. _________________ www.midaz.com.pl |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Sun Nov 30, 2014 10:27 pm Post subject: |
|
|
In 2077, you can already use a word for the index. So 256 should work. _________________ Mark |
|
Back to top |
|
|
ivangel
Joined: 20 Sep 2010 Posts: 41 Location: Poland
|
Posted: Mon Dec 01, 2014 10:40 pm Post subject: Higher index value for LOOKUPSTR |
|
|
Ok, i try.
Best regards _________________ www.midaz.com.pl |
|
Back to top |
|
|
|