Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Higher index value for LOOKUPSTR

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR
View previous topic :: View next topic  
Author Message
ivangel

Bascom Member



Joined: 20 Sep 2010
Posts: 41
Location: Poland

poland.gif
PostPosted: Sun Nov 30, 2014 1:40 pm    Post subject: Higher index value for LOOKUPSTR Reply with quote

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.BlasterON.pl
Back to top
View user's profile Visit poster's website
Evert :-)

Bascom Expert



Joined: 18 Feb 2005
Posts: 2116

netherlands.gif
PostPosted: Sun Nov 30, 2014 2:00 pm    Post subject: Reply with quote

Have a look at $BIGSTRINGS
_________________
www.evertdekker.com Bascom code vault
Back to top
View user's profile Visit poster's website
ivangel

Bascom Member



Joined: 20 Sep 2010
Posts: 41
Location: Poland

poland.gif
PostPosted: Sun Nov 30, 2014 2:18 pm    Post subject: Higher index value for LOOKUPSTR Reply with quote

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.BlasterON.pl
Back to top
View user's profile Visit poster's website
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5089
Location: Holland

blank.gif
PostPosted: Sun Nov 30, 2014 10:27 pm    Post subject: Reply with quote

In 2077, you can already use a word for the index. So 256 should work.
_________________
Mark
Back to top
View user's profile Visit poster's website
ivangel

Bascom Member



Joined: 20 Sep 2010
Posts: 41
Location: Poland

poland.gif
PostPosted: Mon Dec 01, 2014 10:40 pm    Post subject: Higher index value for LOOKUPSTR Reply with quote

Ok, i try.
Best regards

_________________
www.BlasterON.pl
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum